From ddcf43ddb8b97236619cba526ec10c7b9d53fc7b Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Nov 22 2017 08:36:57 +0000 Subject: Some indentation fixes Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index 63442c2..fa4cede 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -389,11 +389,11 @@ {%endmacro%} {% macro viewfilelink(filepath, identifier=False)%} - {% if pull_request %} - {% if not identifier %} - {% set identifier = pull_request.branch_from %} - {% endif %} - {{filepath | unicode}} + {% endif %} + title="View file as of {{ patch_new_id|short }}"> + {{filepath | unicode}} {% endmacro %} {% if patch | hasattr('new_file_path') %}