aboutsummaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/flag/list.html.tmpl16
-rw-r--r--template/en/default/list/edit-multiple.html.tmpl7
2 files changed, 23 insertions, 0 deletions
diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl
index 47406d6c0..455238cfc 100644
--- a/template/en/default/flag/list.html.tmpl
+++ b/template/en/default/flag/list.html.tmpl
@@ -119,6 +119,9 @@
class="flag_select flag_type-[% type.id %]"
[% IF !can_edit_flag %] disabled="disabled"[% END %]>
[%# Only display statuses the user is allowed to set. %]
+ [% IF edit_multiple_bugs %]
+ <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>
[% END %]
@@ -168,6 +171,19 @@
[% END %]
</td>
[% END %]
+ <td>
+ [% IF type.is_multiplicable && edit_multiple_bugs %]
+ <input type="checkbox"
+ name="flags_add-[% type.id %]"
+ id="flags_add-[% type.id %]">
+ <label for="flags_add-[% type.id %]">
+ <a class="field_help_link"
+ 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?
+ </a>
+ </label>
+ [% END %]
+ <td>
</tr>
</tbody>
[% END %]
diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl
index 144ae10c9..e581f0892 100644
--- a/template/en/default/list/edit-multiple.html.tmpl
+++ b/template/en/default/list/edit-multiple.html.tmpl
@@ -321,6 +321,13 @@
</script>
[% END %]
+[% IF flag_types %]
+<b><label for="flags">Flags:</label></b><br>
+[% PROCESS "flag/list.html.tmpl"
+ edit_multiple_bugs = 1
+ flag_no_header = 1 %]
+[% END %]
+
[% Hook.process('before_groups') %]
[% IF groups.size > 0 %]