aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/flag
diff options
context:
space:
mode:
authorReed Loden <reed@reedloden.com>2010-02-17 16:00:52 -0600
committerReed Loden <reed@reedloden.com>2010-02-17 16:00:52 -0600
commitd758e50afca7d94da0510c76eccbb81567315a82 (patch)
tree462b4dfee1733384b48d38785363f1c269aa3ae3 /template/en/default/flag
parented751860d5613bc1c8617377fd28be4ede04dd78 (diff)
downloadbugs-d758e50afca7d94da0510c76eccbb81567315a82.tar
bugs-d758e50afca7d94da0510c76eccbb81567315a82.tar.gz
bugs-d758e50afca7d94da0510c76eccbb81567315a82.tar.bz2
bugs-d758e50afca7d94da0510c76eccbb81567315a82.tar.xz
bugs-d758e50afca7d94da0510c76eccbb81567315a82.zip
Bug 537887 - "The flag setter should be able to unset a flag even if not in the request group"
[r=LpSolit a=LpSolit]
Diffstat (limited to 'template/en/default/flag')
-rw-r--r--template/en/default/flag/list.html.tmpl4
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 c0bffd704..1e8974a9f 100644
--- a/template/en/default/flag/list.html.tmpl
+++ b/template/en/default/flag/list.html.tmpl
@@ -66,7 +66,7 @@
onchange="toggleRequesteeField(this);"
class="flag_select">
[%# Only display statuses the user is allowed to set. %]
- [% IF user.can_request_flag(type) %]
+ [% IF user.can_request_flag(type) || flag.setter_id == user.id %]
<option value="X"></option>
[% END %]
[% IF type.is_active %]
@@ -210,4 +210,4 @@
</td>
[% END %]
</tr>
-[% END %] \ No newline at end of file
+[% END %]