From 88b1770704ec9b1f7c777e0e6b066483595371bc Mon Sep 17 00:00:00 2001 From: Thierry Carrez Date: Tue, 19 Sep 2017 12:10:56 +0200 Subject: [PATCH] Single topic uses admins to review In case only one topic is used, allow all admins to review proposed sessions. Change-Id: I5084f57ccdb58b321e3b6433a322f4f18bb1f331 --- cfp/templates/cfplist.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cfp/templates/cfplist.html b/cfp/templates/cfplist.html index bf17f03..cd452d4 100644 --- a/cfp/templates/cfplist.html +++ b/cfp/templates/cfplist.html @@ -12,9 +12,15 @@ {% else %} Session suggestion is now closed. {% endif %} +{% if multitopic %} {% for topic in reviewable_topics %} -Review {% if multitopic %}topic: {{ topic.name }}{% else %}proposed sessions{% endif %} +Review topic: {{ topic.name }} {% endfor %} +{% else %} +{% if user.is_superuser %} +Review proposed sessions +{% endif %} +{% endif %} {% if multitopic %}