summaryrefslogtreecommitdiffstats
path: root/extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl')
-rw-r--r--extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl b/extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl
index ee793b192..e22151b50 100644
--- a/extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl
+++ b/extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl
@@ -19,7 +19,8 @@
# David Lawrence <dkl@mozilla.com>
#%]
-[% IF attachment.ispatch %]
+[% IF attachment.ispatch
+ || (attachment.mimetype == "text/x-github-pull-request" && attachment.can_review) %]
&#x0020; |
- <a href="[% Bugzilla.splinter_review_url(bugid, attachment.id) FILTER none %]">Review</a>
+ <a href="[% Bugzilla.splinter_review_url(bugid, attachment.id) FILTER none %]">Splinter Review</a>
[% END %]