Commit 9cc13db69f6760b851580dcdebe8217383c37bfb
1 parent
cd7a88fa
Exists in
master
and in
3 other branches
Adjusting coordinator presentation in subjects screen
Showing
2 changed files
with
3 additions
and
9 deletions
Show diff stats
categories/templates/categories/list.html
subjects/templates/subjects/list.html
... | ... | @@ -80,19 +80,14 @@ |
80 | 80 | <input type="hidden" class="log_url" value="{% url 'categories:view_log' category.id %}" /> |
81 | 81 | <input type="hidden" class="log_id" value="" /> |
82 | 82 | {% if category.coordinators.all|length > 0 %} |
83 | - <h4> {% trans "Coordinator(s): " %} | |
84 | - {% for coordinator in category.coordinators.all %} | |
85 | - {{coordinator.social_name}} | |
86 | - {% endfor %} | |
87 | - </h4> | |
83 | + <h4><b>{% trans "Coordinator(s) " %}: </b> | |
84 | + {{ category.coordinators.all|join:', ' }} | |
85 | + </h4> | |
88 | 86 | {% else %} |
89 | 87 | <h4> {% trans "It doesn't possess coordinators" %} </h4> |
90 | 88 | {% endif %} |
91 | - | |
92 | 89 | |
93 | 90 | {{category.description|safe}} |
94 | - | |
95 | - | |
96 | 91 | |
97 | 92 | {% if user in category.coordinators.all %} |
98 | 93 | <a href="{% url 'subjects:create' category.slug %}"><button class="create-subject-btn"> {% trans "create new subject" %} </button></a> | ... | ... |