Commits

Benoît Allard committed 3d17431

web: Reduce the amount of information shown in the issues page

  • Participants
  • Parent commits a907549

Comments (0)

Files changed (1)

File web/templates/issues.html

 {% for issue in issues %}
   <li class="issue">
     <h3>{{ macros.render_issue(issue)|safe }}</h3>
-    {{ macros.render_changesets_for_issue(issue)|safe }}
+    <p>
+      {% if issue.changesets %}
+        {{ issue.changesets | count }}
+      {% else %}
+        No
+      {% endif %}
+      linked changeset{% if (issue.changesets | count) > 1 %}s{% endif %}.
+    </p>
   </li>
 {% else %}
   <li> No issue in DB (yet)</li>