summaryrefslogtreecommitdiffstats
path: root/template/en/default/flag
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2015-04-13 13:58:11 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2015-04-13 13:58:11 +0200
commit7d0c10e71498f2909f466fc0ccda1890595bd3ff (patch)
tree2a2b1befff77aa2055d41bfa63c39a0f2e284412 /template/en/default/flag
parentc3252406b334f83d0f2c03c58cee8a8697fc5c16 (diff)
downloadbugzilla-7d0c10e71498f2909f466fc0ccda1890595bd3ff.tar.gz
bugzilla-7d0c10e71498f2909f466fc0ccda1890595bd3ff.tar.xz
Bug 1137307: Bug reports are not valid HTML5 pages
r=dkl a=glob
Diffstat (limited to 'template/en/default/flag')
-rw-r--r--template/en/default/flag/list.html.tmpl29
1 files changed, 17 insertions, 12 deletions
diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl
index 047fd4425..169cf8a51 100644
--- a/template/en/default/flag/list.html.tmpl
+++ b/template/en/default/flag/list.html.tmpl
@@ -23,13 +23,12 @@
<table id="[% flag_table_id FILTER html %]">
[% UNLESS flag_no_header %]
<tr>
- <th colspan="3">
- Flags:
- </th>
+ <th colspan="3">Flags:</th>
[% IF any_flags_requesteeble %]
- <th>
- Requestee:
- </th>
+ <th>Requestee:</th>
+ [% END %]
+ [% IF edit_multiple_bugs %]
+ <th>&nbsp;</th>
[% END %]
</tr>
[% END %]
@@ -57,7 +56,10 @@
[% NEXT UNLESS type.flags && type.flags.size > 0 && type.is_multiplicable && type.is_active %]
[% IF !separator_displayed %]
<tbody class="bz_flag_type">
- <tr><td colspan="3"><hr></td></tr>
+ [% sep_length = 3 + (any_flags_requesteeble ? 1 : 0) + (edit_multiple_bugs ? 1 : 0) %]
+ <tr>
+ <td colspan="[% sep_length FILTER html %]"><hr></td>
+ </tr>
</tbody>
[% separator_displayed = 1 %]
[% END %]
@@ -123,7 +125,7 @@
<option value="--do_not_change--">--do_not_change--</option>
[% END %]
[% IF !flag || (can_edit_flag && user.can_request_flag(type)) || flag.setter_id == user.id %]
- <option value="X"></option>
+ <option value="X" label="X"></option>
[% END %]
[% IF type.is_active && can_edit_flag %]
[% IF (type.is_requestable && user.can_request_flag(type)) || (flag && flag.status == "?") %]
@@ -171,16 +173,19 @@
[% END %]
</td>
[% END %]
- <td>
- [% IF type.is_multiplicable && edit_multiple_bugs %]
+ [% IF edit_multiple_bugs %]
+ <td>
+ [% IF type.is_multiplicable %]
<input type="checkbox" name="flags_add-[% type.id %]"
id="flags_add-[% type.id %]" value="1">
<label for="flags_add-[% type.id %]"
- title="If ticked, always create a new flag. Leaving it unchecked will update existing flag(s) and add a new flag if it does not exist">
+ title="If ticked, always create a new flag. Leaving it unchecked will
+ update existing flag(s) and add a new flag if it does not exist">
Always add
</label>
[% END %]
- </td>
+ </td>
+ [% END %]
</tr>
</tbody>
[% END %]