From e0fbbde652bd6ff8112399fc7d7bc96f19e92994 Mon Sep 17 00:00:00 2001 From: Simon Green Date: Tue, 2 Sep 2014 10:26:42 +1000 Subject: Bug 281791 - Add ability to change flags in "change several bugs at once" r=glob, a=sgreen --- template/en/default/flag/list.html.tmpl | 16 ++++++++++++++++ template/en/default/list/edit-multiple.html.tmpl | 7 +++++++ 2 files changed, 23 insertions(+) (limited to 'template/en/default') 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 %] + + [% END %] [% IF !flag || (can_edit_flag && user.can_request_flag(type)) || flag.setter_id == user.id %] [% END %] @@ -168,6 +171,19 @@ [% END %] [% END %] + + [% IF type.is_multiplicable && edit_multiple_bugs %] + + + [% END %] + [% 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 @@ [% END %] +[% IF flag_types %] +
+[% PROCESS "flag/list.html.tmpl" + edit_multiple_bugs = 1 + flag_no_header = 1 %] +[% END %] + [% Hook.process('before_groups') %] [% IF groups.size > 0 %] -- cgit v1.2.3-24-g4f1b