aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorSimon Green <mail@simon.green>2015-08-19 02:29:11 -0400
committerSimon Green <mail@simon.green>2015-08-19 02:29:11 -0400
commit607d89d0449ce80ede45bf80d9e27f8f002940cc (patch)
tree4cc51669d43aa3f66a7aea8f0ba795e527178403 /template
parent92ebe5b23e6d4fe659b8c33c72211b9d7362c4aa (diff)
downloadbugs-607d89d0449ce80ede45bf80d9e27f8f002940cc.tar
bugs-607d89d0449ce80ede45bf80d9e27f8f002940cc.tar.gz
bugs-607d89d0449ce80ede45bf80d9e27f8f002940cc.tar.bz2
bugs-607d89d0449ce80ede45bf80d9e27f8f002940cc.tar.xz
bugs-607d89d0449ce80ede45bf80d9e27f8f002940cc.zip
Bug 1182782 - Changing multiple bugs at once can fail if the dontchange text has been localized
r=dkl, a=simon
Diffstat (limited to 'template')
-rw-r--r--template/en/default/flag/list.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl
index 169cf8a51..778c3e142 100644
--- a/template/en/default/flag/list.html.tmpl
+++ b/template/en/default/flag/list.html.tmpl
@@ -121,8 +121,8 @@
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>
+ [% IF edit_multiple_bugs && dontchange %]
+ <option value="[% dontchange FILTER html %]">[% dontchange FILTER html %]</option>
[% END %]
[% IF !flag || (can_edit_flag && user.can_request_flag(type)) || flag.setter_id == user.id %]
<option value="X" label="X"></option>