Commit 2bd13faa authored by Gervase Markham's avatar Gervase Markham Committed by Frédéric Buclin

Bug 540042: Change flag markup to identify flag type in all cases

r/a=LpSolit
parent 33be6ee9
......@@ -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>
......@@ -184,7 +184,7 @@
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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment