aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-01-15 04:37:57 +0000
committerlpsolit%gmail.com <>2007-01-15 04:37:57 +0000
commit1942f8188c24fb8b88c1fe87ca42a0e79c02b752 (patch)
treec1a396498645d7e15401c5e273a53088804262ea
parent4be5eabd70f22b3127a85ae683c4284cf18dddf9 (diff)
downloadbugs-1942f8188c24fb8b88c1fe87ca42a0e79c02b752.tar
bugs-1942f8188c24fb8b88c1fe87ca42a0e79c02b752.tar.gz
bugs-1942f8188c24fb8b88c1fe87ca42a0e79c02b752.tar.bz2
bugs-1942f8188c24fb8b88c1fe87ca42a0e79c02b752.tar.xz
bugs-1942f8188c24fb8b88c1fe87ca42a0e79c02b752.zip
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 %]