]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 540042: Change flag markup to identify flag type in all cases
authorGervase Markham <gerv@mozilla.org>
Mon, 29 Mar 2010 12:25:53 +0000 (14:25 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 29 Mar 2010 12:25:53 +0000 (14:25 +0200)
r/a=LpSolit

template/en/default/flag/list.html.tmpl

index 1e8974a9f22d14450afe062b29b1e83cdcd3dd3a..1110fb6b3e8f47c23648ee85a999a33391121575 100644 (file)
@@ -64,7 +64,7 @@
           <select id="flag-[% flag.id %]" name="flag-[% flag.id %]" 
                   title="[% type.description FILTER html %]"
                   onchange="toggleRequesteeField(this);"
-                  class="flag_select">
+                  class="flag_select flag_type-[% type.id %]">
             [%# Only display statuses the user is allowed to set. %]
             [% IF user.can_request_flag(type) || flag.setter_id == user.id %]
               <option value="X"></option>
               title="[% type.description FILTER html %]"
               [% " disabled=\"disabled\"" UNLESS (type.is_requestable && user.can_request_flag(type)) || user.can_set_flag(type) %]
               onchange="toggleRequesteeField(this);"
-              class="flag_select">
+              class="flag_select flag_type-[% type.id %]">
         <option value="X"></option>
         [% IF type.is_requestable && user.can_request_flag(type) %]
           <option value="?">?</option>