summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl7
1 files changed, 3 insertions, 4 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl
index 4f2381913..61e82bf2a 100644
--- a/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl
@@ -93,8 +93,7 @@
[% BLOCK edit_flag %]
[%
- can_edit = !f || (f.setter_id == user.id || (f.requestee_id && f.requestee_id == user.id))
- flag_id = f ? "flag-$f.id" : "flag_type-$t.id";
+ flag_id = f ? "flag-$f.id" : "flag_type-$t.id";
%]
<tr>
<td class="flag-setter">
@@ -118,10 +117,10 @@
disabled
[% END %]
class="bug-flag">
- [% IF !f || (can_edit && user.can_request_flag(t)) || f.setter_id == user.id %]
+ [% IF !f || (user.can_request_flag(t)) || f.setter_id == user.id %]
<option value="X"></option>
[% END %]
- [% IF t.is_active && can_edit %]
+ [% IF t.is_active %]
[% IF (t.is_requestable && user.can_request_flag(t)) || (f && f.status == "?") %]
<option value="?" [% "selected" IF f && f.status == "?" %]>?</option>
[% END %]