diff options
author | Guy Pyrzak <guy.pyrzak@gmail.com> | 2010-06-06 10:40:18 +0200 |
---|---|---|
committer | Guy Pyrzak <guy.pyrzak@gmail.com> | 2010-06-06 10:40:18 +0200 |
commit | 9fd857307079b57f515fa394cd8f0aefc64336e0 (patch) | |
tree | 2849d82ab0db1ec7a17d84044f92bed039cbe563 /template/en/default/bug | |
parent | 99ad6a4e8674133c5bb8367d291eb1986c3cee8a (diff) | |
download | bugzilla-9fd857307079b57f515fa394cd8f0aefc64336e0.tar.gz bugzilla-9fd857307079b57f515fa394cd8f0aefc64336e0.tar.xz |
Bug 450301: What Simplify searching UI, initial improvements to the advanced search ui.
r=mkanat, a=mkanat
Diffstat (limited to 'template/en/default/bug')
-rw-r--r-- | template/en/default/bug/field-label.html.tmpl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/template/en/default/bug/field-label.html.tmpl b/template/en/default/bug/field-label.html.tmpl index 7b63f7b8c..3f9187c89 100644 --- a/template/en/default/bug/field-label.html.tmpl +++ b/template/en/default/bug/field-label.html.tmpl @@ -23,14 +23,15 @@ # desc_url: An alternate link to help for the field. # hidden: True if the field label should start hidden. # rowspan: a "rowspan" value for the label's <th>. + # tag_name: the tag to use to surround the label #%] [% PROCESS "bug/field-help.none.tmpl" %] - -<th class="field_label [% ' bz_hidden_field' IF hidden %] +[% DEFAULT tag_name = "th" %] +<[% tag_name %] class="field_label [% ' bz_hidden_field' IF hidden %] [%- ' required' IF field.is_mandatory %]" id="field_label_[% field.name FILTER html %]" - [% IF rowspan %] rowspan="[% rowspan FILTER html %]"[% END %]> + [% IF rowspan > 0 %] rowspan="[% rowspan FILTER html %]"[% END %]> [% IF editable %] <label for="[% field.name FILTER html %]"> @@ -49,4 +50,4 @@ >[%- field_descs.${field.name} FILTER html %]:</a> [% '</label>' IF editable %] -</th> +</[% tag_name %]> |