From 41bf90238386b935aa41d3bf81d1aa5652770179 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Sep 28 2015 09:32:26 +0000 Subject: Fix layout/spacing in the pull-request template to fix the unit-tests --- diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index 4e5bbb2..e980865 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -253,13 +253,11 @@ {% for patch in diff %}
-

- {% if patch.new_file_path == patch.old_file_path %} +

{% if patch.new_file_path == patch.old_file_path -%} {{ patch.new_file_path }} - {% else %} + {%- else -%} {{ patch.new_file_path }} (Renamed from "{{ patch.old_file_path }}") - {% endif %} -

+ {%- endif %}
  • {% if (patch.additions + patch.deletions) %}