]> 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:22:44 +0000 (14:22 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 29 Mar 2010 12:22:44 +0000 (14:22 +0200)
r/a=LpSolit

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

index 582da0b540491b50fbbc0c159190d3967ee0dd80..661f37dd18a8adb5f191144a871e7d77531ea536 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>