small display improvement

This commit is contained in:
Élie Bouttier 2016-07-06 01:32:55 +02:00
parent 56be78ee0b
commit f4965f70b4
1 changed files with 3 additions and 3 deletions

View File

@ -12,9 +12,9 @@
{% for topic in topic_list %}
<li>
{{ topic.get_link }}
{% if request|staff %} ({% for reviewer in topic.reviewers.all %} {{ reviewer.get_link }}
{% if not forloop.last %}, {% endif %}{% endfor %} )
{% if request|orga %} - <a href="{% url 'edit-topic' topic.slug %}">edit</a>{% endif %}
{% if request|staff %}
{% if topic.reviewers.exists %} ({% for reviewer in topic.reviewers.all %} {{ reviewer.get_link }} {% if not forloop.last %}, {% endif %}{% endfor %}) {% endif %}
{% if request|orga %} - <a href="{% url 'edit-topic' topic.slug %}">edit</a>{% endif %}
{% endif %}
</li>
{% empty %}