From 23054164616a1a5bb294eb2b94601c5685c063a8 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Sun, 3 Jun 2018 23:24:50 +0200 Subject: [PATCH] only show tables when at least one proposal is found --- src/backoffice/templates/manage_proposals.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/backoffice/templates/manage_proposals.html b/src/backoffice/templates/manage_proposals.html index 4c28b64d..8ba2deb1 100644 --- a/src/backoffice/templates/manage_proposals.html +++ b/src/backoffice/templates/manage_proposals.html @@ -18,6 +18,9 @@

SpeakerProposals

+ {% if not speakerproposals %} +

No pending SpeakerProposals found

+ {% else %} @@ -40,8 +43,12 @@ {% endfor %}
+ {% endif %}

EventProposals

+ {% if not eventproposals %} +

No pending SpeakerProposals found

+ {% else %} @@ -68,7 +75,7 @@ {% endfor %}
- + {% endif %}