diff options
author | Simon Green <mail@simon.green> | 2015-08-19 08:24:40 +0200 |
---|---|---|
committer | Simon Green <mail@simon.green> | 2015-08-19 08:24:40 +0200 |
commit | 20c3fa770686d6d79a74523ebc68399243c60d83 (patch) | |
tree | 4fb8f39642b5e6860a8e6ce75e289bb56d237cb5 | |
parent | f1ac494acfbb812f02728de17afec331c723d8be (diff) | |
download | bugzilla-20c3fa770686d6d79a74523ebc68399243c60d83.tar.gz bugzilla-20c3fa770686d6d79a74523ebc68399243c60d83.tar.xz |
Bug 1182782 - Changing multiple bugs at once can fail if the dontchange text has been localized
r=dkl, a=simon
-rw-r--r-- | template/en/default/flag/list.html.tmpl | 4 |
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> |