From 0ce40b991790cd7695f289b27237b8f2751e5f9b Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Mon, 19 Oct 2015 10:25:15 -0400 Subject: Bug 1146780 - treat github and mozreview attachments as patches --- .../template/en/default/hook/attachment/list-action.html.tmpl | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'extensions/BMO/template/en/default') 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 %] + +[% END %] - +[% IF !attachment.ispatch && attachment.can_review %] + | + Review +[% END %] -- cgit v1.2.3-24-g4f1b