diff options
Diffstat (limited to 'extensions/BMO/template')
-rw-r--r-- | extensions/BMO/template/en/default/hook/attachment/list-action.html.tmpl | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/extensions/BMO/template/en/default/hook/attachment/list-action.html.tmpl b/extensions/BMO/template/en/default/hook/attachment/list-action.html.tmpl index 9b2463f78..6982b3338 100644 --- a/extensions/BMO/template/en/default/hook/attachment/list-action.html.tmpl +++ b/extensions/BMO/template/en/default/hook/attachment/list-action.html.tmpl @@ -6,7 +6,11 @@ # defined by the Mozilla Public License, v. 2.0. #%] -[% RETURN UNLESS user.in_group("bounty-team") - && attachment.is_bounty_attachment %] +[% IF user.in_group("bounty-team") && attachment.is_bounty_attachment %] + <span id="bounty_attachment"></span> +[% END %] -<span id="bounty_attachment"></span> +[% IF !attachment.ispatch && attachment.can_review %] +   | + <a href="attachment.cgi?id=[% attachment.id FILTER none %]">Review</a> +[% END %] |