diff options
Diffstat (limited to 'extensions/Splinter/template/en/default/hook')
-rw-r--r-- | extensions/Splinter/template/en/default/hook/attachment/edit-action.html.tmpl | 3 | ||||
-rw-r--r-- | extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/extensions/Splinter/template/en/default/hook/attachment/edit-action.html.tmpl b/extensions/Splinter/template/en/default/hook/attachment/edit-action.html.tmpl index 7648e1d76..6100deeb7 100644 --- a/extensions/Splinter/template/en/default/hook/attachment/edit-action.html.tmpl +++ b/extensions/Splinter/template/en/default/hook/attachment/edit-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.external_redirect) %]   | <a href="[% Bugzilla.splinter_review_url(attachment.bug_id, attachment.id) FILTER none %]">Review</a> [% END %] 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) %]   | - <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 %] |