summaryrefslogtreecommitdiffstats
path: root/template/en/default/flag
diff options
context:
space:
mode:
authormyk%mozilla.org <>2002-11-09 10:58:47 +0100
committermyk%mozilla.org <>2002-11-09 10:58:47 +0100
commit8816b8cb98a7902b722c00cbed6e22b12f176e74 (patch)
treeb8548c08fa5472df8b22943bd4deda444863f56d /template/en/default/flag
parentc39803cc45e621f01e0598c7fb875f5e494ebd14 (diff)
downloadbugzilla-8816b8cb98a7902b722c00cbed6e22b12f176e74.tar.gz
bugzilla-8816b8cb98a7902b722c00cbed6e22b12f176e74.tar.xz
Fix for bug 171505: shows disabled flags in the UI
r=bbaetz a=justdave
Diffstat (limited to 'template/en/default/flag')
-rw-r--r--template/en/default/flag/list.html.tmpl10
1 files changed, 7 insertions, 3 deletions
diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl
index f809a4e0e..abfac6fcc 100644
--- a/template/en/default/flag/list.html.tmpl
+++ b/template/en/default/flag/list.html.tmpl
@@ -33,9 +33,13 @@
<td>
<select name="flag-[% flag.id %]">
<option value="X"></option>
- <option value="+" [% "selected" IF flag.status == "+" %]>+</option>
- <option value="-" [% "selected" IF flag.status == "-" %]>-</option>
- <option value="?" [% "selected" IF flag.status == "?" %]>?</option>
+ [% IF flag.is_active %]
+ <option value="+" [% "selected" IF flag.status == "+" %]>+</option>
+ <option value="-" [% "selected" IF flag.status == "-" %]>-</option>
+ <option value="?" [% "selected" IF flag.status == "?" %]>?</option>
+ [% ELSE %]
+ <option value="[% flag.status %]" selected>[% flag.status %]</option>
+ [% END %]
</select>
</td>
<td>