From 4ec16d30ea25efe739d8b97c52938a075c737b1d Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Jan 07 2016 00:33:38 +0000 Subject: fixed flags presentation --- diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index 07cc8d0..3172a92 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -136,29 +136,6 @@
- {% if pull_request.flags %} -
-
- - - - - {% for flag in pull_request.flags %} - - - - - - - {% endfor %} - -
{{ flag.percent }}%{{ flag.username }}{{ flag.comment }} - {{ flag.date_created | humanize }} -
-
-
- {% endif %} -
{% endif %} @@ -286,7 +263,7 @@ title="View file as of {{ patch_new_id|short }}">View -
+ {% autoescape false %} {{ patch | patch_to_diff | html_diff | format_loc( filename=patch_new_file_path, @@ -294,7 +271,7 @@ prequest=pull_request, index=loop.index)}} {% endautoescape %} -
+ {% endfor %} @@ -393,54 +370,35 @@ {% endif %} + + {% if pull_request.flags %}
+ +
+ {% endif %} + + {# +
+ #} {% endif %} {% if diff %}
-
Changes summary:
+
Changes summary
-
@@ -514,7 +472,6 @@ {% endfor %}
-
{% endif %}