Commit 9cc13db69f6760b851580dcdebe8217383c37bfb

Authored by Zambom
1 parent cd7a88fa

Adjusting coordinator presentation in subjects screen

categories/templates/categories/list.html
... ... @@ -88,7 +88,6 @@
88 88 {% else %}
89 89 <h4> {% trans "It doesn't possess coordinators" %} </h4>
90 90 {% endif %}
91   -
92 91  
93 92 {{category.description|safe}}
94 93 </div>
... ...
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>
... ...