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 %} + + {# +
- {# - - - - - - - - - - - - - - - #}
By - - {{ pull_request.user.user | avatar(16) | safe }} - {{ pull_request.user.fullname }} ({{ pull_request.user.user }}) - -
From - - {{ pull_request.project_from.fullname or pull_request.remote_git - }} ({{ pull_request.branch_from }}) - -
To - - {{ pull_request.project.fullname }} ({{ pull_request.branch }}) - -
Created - {{ pull_request.date_created |humanize }} -
Assignee @@ -460,14 +418,14 @@
+ #} {% endif %} {% if diff %}
-
Changes summary:
+
Changes summary
-
@@ -514,7 +472,6 @@ {% endfor %}
-
{% endif %}