From 9b46728e263c643704c06b67c84e2a38f7bb5c1d Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Nov 26 2018 14:32:54 +0000 Subject: change formatting of the issue list to make more readable This changes the layout of the issue list slightly so the assignee and comment counts appear in cols on the right side of the issue list. This also moves the additional metadata display to the bottom line next to where the tags are shown Fixes: #3711 --- diff --git a/pagure/templates/_render_issues.html b/pagure/templates/_render_issues.html index 95423fd..69e27d4 100644 --- a/pagure/templates/_render_issues.html +++ b/pagure/templates/_render_issues.html @@ -27,73 +27,40 @@ {% endif %} -
- - - {% if issue.milestone %} - - - {% if filterstatus %} - - {% endif %} - {{ issue.milestone }} - {% if filterstatus %} - - {% endif %} - - {% endif %} - - {% if issue.priority is not none %} - - - {% if filterstatus %} - - {% endif %} - {{ repo.priorities[issue.priority | string] }} - {% if filterstatus %} - - {% endif %} - - {% endif %} + + - {% if issue.assignee %} - - - {% if filterstatus %} - - {% endif %} - {{ issue.assignee.username | avatar(size=20) | safe}} - {% if filterstatus %} - +
+ {% if issue.assignee %} + + + {% if filterstatus %} + + {% endif %} + {{ issue.assignee.username | avatar(size=20) | safe}} + {% if filterstatus %} + + {% endif %} + {% endif %} - - {% endif %} +
- {% if issue.user_comments|count > 0 %} - - - {{issue.user_comments|count}} - - {% endif %} +
+ {% if issue.user_comments|count > 0 %} + + + {{issue.user_comments|count}} + + {% endif %} +
-
+ {% if subtitle %}
@@ -163,6 +130,41 @@ {% endif %} {% endfor %} + {% if issue.milestone %} + + + {% if filterstatus %} + + {% endif %} + {{ issue.milestone }} + {% if filterstatus %} + + {% endif %} + + {% endif %} + {% if issue.priority is not none %} + + + {% if filterstatus %} + + {% endif %} + {{ repo.priorities[issue.priority | string] }} + {% if filterstatus %} + + {% endif %} + + {% endif %}
{% endif %}