diff options
author | 2008-05-15 22:37:40 +0000 | |
---|---|---|
committer | 2008-05-15 22:37:40 +0000 | |
commit | 2ee97093788e64e307f738ba439ea4b52d7bc15f (patch) | |
tree | 0160f3b20f6a0cba6015b85e85801ad0bdbefe8f | |
parent | Bug 433348: Created bug display should show extra nav links like show bug doe... (diff) | |
download | bugzilla-2ee97093788e64e307f738ba439ea4b52d7bc15f.tar.gz bugzilla-2ee97093788e64e307f738ba439ea4b52d7bc15f.tar.bz2 bugzilla-2ee97093788e64e307f738ba439ea4b52d7bc15f.zip |
Bug 433851 - "Flag <select> not disabled even though user can't request or change flag" [p=reed/LpSolit r+a=LpSolit]
-rw-r--r-- | template/en/default/flag/list.html.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl index 462e4063c..8aef809e0 100644 --- a/template/en/default/flag/list.html.tmpl +++ b/template/en/default/flag/list.html.tmpl @@ -181,7 +181,7 @@ <td> <select id="flag_type-[% type.id %]" name="flag_type-[% type.id %]" title="[% type.description FILTER html %]" - [% " disabled=\"disabled\"" UNLESS user.can_request_flag(type) %] + [% " disabled=\"disabled\"" UNLESS (type.is_requestable && user.can_request_flag(type)) || user.can_set_flag(type) %] onchange="toggleRequesteeField(this);" class="flag_select"> <option value="X"></option> @@ -235,7 +235,7 @@ <td> <select id="flag_type-[% type.id %]" name="flag_type-[% type.id %]" title="[% type.description FILTER html %]" - [% " disabled=\"disabled\"" UNLESS user.can_request_flag(type) %] + [% " disabled=\"disabled\"" UNLESS (type.is_requestable && user.can_request_flag(type)) || user.can_set_flag(type) %] onchange="toggleRequesteeField(this);" class="flag_select"> <option value="X"></option> |