From 58bcf49429c7132590e1fc169f2ec80158388861 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 28 2018 07:52:31 +0000 Subject: Include the filename when showing the diff of remote PRs Fixes https://pagure.io/pagure/issue/2972 Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index 17851a5..c297985 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -425,11 +425,14 @@ title="View file as of {{ patch_new_id|short }}">{{ filepath | unicode }} {% elif pull_request and pull_request.remote %} + {{ filepath | unicode }} +
this is a remote pull-request, so we cannot provide you with a direct link to the file but you can always checkout the pull-request locally to review it entirely. +
{% endif %} {% endmacro %}