diff options
author | David Lawrence <dkl@mozilla.com> | 2016-07-12 16:44:03 +0200 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2016-07-12 16:44:03 +0200 |
commit | dc519b098fac5c18b3807e8a7dfd37334799c951 (patch) | |
tree | adfca05db74f5f84399520f147bc10ba786c51f1 /extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl | |
parent | b823202cd93b41b0cf68776a42825f8943f7d7e0 (diff) | |
download | bugzilla-dc519b098fac5c18b3807e8a7dfd37334799c951.tar.gz bugzilla-dc519b098fac5c18b3807e8a7dfd37334799c951.tar.xz |
Bug 1283649 - When an attachment is a github pull request link, the pull request diff should be displayed in the edit page
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.tmpl | 5 |
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) %]   | - <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 %] |