Single topic uses admins to review

In case only one topic is used, allow all admins to
review proposed sessions.

Change-Id: I5084f57ccdb58b321e3b6433a322f4f18bb1f331
This commit is contained in:
Thierry Carrez 2017-09-19 12:10:56 +02:00
parent de5980db0a
commit 88b1770704

View File

@ -12,9 +12,15 @@
{% else %}
Session suggestion is now closed.
{% endif %}
{% if multitopic %}
{% for topic in reviewable_topics %}
<a class=roundedButton href="/cfp/topic/{{ topic.id }}">Review {% if multitopic %}topic: {{ topic.name }}{% else %}proposed sessions{% endif %}</A>
<a class=roundedButton href="/cfp/topic/{{ topic.id }}">Review topic: {{ topic.name }}</A>
{% endfor %}
{% else %}
{% if user.is_superuser %}
<a class=roundedButton href="/cfp/topic/1">Review proposed sessions</A>
{% endif %}
{% endif %}
<table>
<tr>
{% if multitopic %}