]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 366666: Cannot clear inactive flags anymore - Patch by Frédéric Buclin <LpSolit...
authorlpsolit%gmail.com <>
Mon, 15 Jan 2007 04:37:57 +0000 (04:37 +0000)
committerlpsolit%gmail.com <>
Mon, 15 Jan 2007 04:37:57 +0000 (04:37 +0000)
template/en/default/flag/list.html.tmpl

index d3c9832187d2c1c2dde2820342215578a78a327d..6b75b088c116221b32ccbd67fbbb8a95dbb64fcc 100644 (file)
                   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 %]