From fb92d832dd285e3cb8dc4ab3a0d7953bba43a19d Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Dec 09 2016 14:34:06 +0000 Subject: Fix indentation and update subscribers list This commit makes sure we are presenting the subscriber on the PR page in the same way we do it on the ticket pages. --- diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index addea7d..6d382b8 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -654,24 +654,24 @@ {% if pull_request.flags %}
{% endif %} @@ -708,13 +708,19 @@ - {% if subscribers and authenticated %} + {% if subscribers %}
- +
- {{ subscribers | join(', ') }} + {% for subscriber in subscribers %} + {{ + subscriber |avatar(size=24) | safe + }} + {% endfor %}
@@ -775,7 +781,6 @@ {% for patch in diff %} {% set count = count+1 %}
- {% if patch | hasattr('additions') %} {# Version of pygit2 -0.21.4 -- F21/EL7 #} {% set linesadded = patch.additions %}