From dc519b098fac5c18b3807e8a7dfd37334799c951 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 12 Jul 2016 14:44:03 +0000 Subject: Bug 1283649 - When an attachment is a github pull request link, the pull request diff should be displayed in the edit page --- .../Splinter/template/en/default/hook/attachment/edit-action.html.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extensions/Splinter/template/en/default/hook/attachment/edit-action.html.tmpl') 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 #%] -[% IF attachment.ispatch %] +[% IF attachment.ispatch + || (attachment.mimetype == "text/x-github-pull-request" && attachment.external_redirect) %] | Review [% END %] -- cgit v1.2.3-24-g4f1b