From 9cc13db69f6760b851580dcdebe8217383c37bfb Mon Sep 17 00:00:00 2001 From: Zambom Date: Tue, 3 Jan 2017 16:17:19 -0200 Subject: [PATCH] Adjusting coordinator presentation in subjects screen --- categories/templates/categories/list.html | 1 - subjects/templates/subjects/list.html | 11 +++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/categories/templates/categories/list.html b/categories/templates/categories/list.html index 673597d..a2dbc8c 100755 --- a/categories/templates/categories/list.html +++ b/categories/templates/categories/list.html @@ -88,7 +88,6 @@ {% else %}

{% trans "It doesn't possess coordinators" %}

{% endif %} - {{category.description|safe}} diff --git a/subjects/templates/subjects/list.html b/subjects/templates/subjects/list.html index dc7e9b6..5ca51a5 100644 --- a/subjects/templates/subjects/list.html +++ b/subjects/templates/subjects/list.html @@ -80,19 +80,14 @@ {% if category.coordinators.all|length > 0 %} -

{% trans "Coordinator(s): " %} - {% for coordinator in category.coordinators.all %} - {{coordinator.social_name}} - {% endfor %} -

+

{% trans "Coordinator(s) " %}: + {{ category.coordinators.all|join:', ' }} +

{% else %}

{% trans "It doesn't possess coordinators" %}

{% endif %} - {{category.description|safe}} - - {% if user in category.coordinators.all %} -- libgit2 0.21.2