summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-01-15 05:37:57 +0100
committerlpsolit%gmail.com <>2007-01-15 05:37:57 +0100
commit1942f8188c24fb8b88c1fe87ca42a0e79c02b752 (patch)
treec1a396498645d7e15401c5e273a53088804262ea
parent4be5eabd70f22b3127a85ae683c4284cf18dddf9 (diff)
downloadbugzilla-1942f8188c24fb8b88c1fe87ca42a0e79c02b752.tar.gz
bugzilla-1942f8188c24fb8b88c1fe87ca42a0e79c02b752.tar.xz
Bug 366666: Cannot clear inactive flags anymore - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=LpSolit
-rw-r--r--template/en/default/flag/list.html.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl
index d3c983218..6b75b088c 100644
--- a/template/en/default/flag/list.html.tmpl
+++ b/template/en/default/flag/list.html.tmpl
@@ -107,10 +107,10 @@
title="[% type.description FILTER html %]"
onchange="toggleRequesteeField(this);">
[%# Only display statuses the user is allowed to set. %]
+ [% IF user.can_request_flag(type) %]
+ <option value="X"></option>
+ [% END %]
[% IF type.is_active %]
- [% IF user.can_request_flag(type) %]
- <option value="X"></option>
- [% END %]
[% IF (type.is_requestable && user.can_request_flag(type)) || flag.status == "?" %]
<option value="?" [% "selected" IF flag.status == "?" %]>?</option>
[% END %]