From ca8661ce4d41b421766bea0f219f618e1ace7a1c Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Tue, 11 Apr 2017 14:13:43 +0200 Subject: [PATCH] hide new speaker proposal and new event proposal buttons when call for speakers is not open, fixes #105 --- src/program/templates/proposal_list.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/program/templates/proposal_list.html b/src/program/templates/proposal_list.html index f65b1ab4..d1ebb644 100644 --- a/src/program/templates/proposal_list.html +++ b/src/program/templates/proposal_list.html @@ -45,7 +45,7 @@ Proposals | {{ block.super }}

No speaker proposals found

{% endif %} -{% if not camp.read_only %} +{% if not camp.read_only and camp.call_for_speakers_open %} Propose New Speaker {% endif %} @@ -90,7 +90,7 @@ Proposals | {{ block.super }}

No event proposals found

{% endif %} -{% if not camp.read_only %} +{% if not camp.read_only and camp.call_for_speakers_open %} Propose New Event {% endif %}