diff --git a/src/program/templates/eventproposal_detail.html b/src/program/templates/eventproposal_detail.html index 30ff479d..864b4300 100644 --- a/src/program/templates/eventproposal_detail.html +++ b/src/program/templates/eventproposal_detail.html @@ -3,13 +3,21 @@ {% block program_content %} +{% if not camp.call_for_participation_open %} +
+ Note! This Call for Particilation is not open. +
+{% endif %} +

{{ eventproposal.title }} Details

{{ eventproposal.title }}
{{ eventproposal.abstract|commonmark }} + {% if camp.call_for_participation_open and not camp.read_only %} Modify + {% endif %}
@@ -22,7 +30,9 @@ {% else %} Nothing found. {% endif %} + {% if camp.call_for_participation_open and not camp.read_only %} Add URL + {% endif %} @@ -34,17 +44,21 @@ {% else %} Nothing found. {% endif %} - {% if eventproposal.get_available_speakerproposals.exists %} - Add {{ eventproposal.event_type.host_title }} - {% else %} - Add {{ eventproposal.event_type.host_title }} + {% if camp.call_for_participation_open and not camp.read_only %} + {% if eventproposal.get_available_speakerproposals.exists %} + Add {{ eventproposal.event_type.host_title }} + {% else %} + Add {{ eventproposal.event_type.host_title }} + {% endif %} {% endif %}

Back to List - Delete + {% if camp.call_for_participation_open and not camp.read_only %} + Delete + {% endif %}

{% endblock program_content %} diff --git a/src/program/templates/speakerproposal_detail.html b/src/program/templates/speakerproposal_detail.html index eefe2892..67d55863 100644 --- a/src/program/templates/speakerproposal_detail.html +++ b/src/program/templates/speakerproposal_detail.html @@ -3,13 +3,21 @@ {% block program_content %} +{% if not camp.call_for_participation_open %} +
+ Note! This Call for Particilation is not open. +
+{% endif %} +

{{ speakerproposal.name }} Details

{{ speakerproposal.name }}
{{ speakerproposal.biography|commonmark }} + {% if camp.call_for_participation_open and not camp.read_only %} Modify + {% endif %}
@@ -22,7 +30,9 @@ {% else %} Nothing found. {% endif %} + {% if camp.call_for_participation_open and not camp.read_only %} Add URL + {% endif %} @@ -34,14 +44,18 @@ {% else %} Nothing found. {% endif %} + {% if camp.call_for_participation_open and not camp.read_only %} Add New Event + {% endif %}

Back to List - {% if not speakerproposal.eventproposals.all %} + {% if camp.call_for_participation_open and not camp.read_only %} + {% if not speakerproposal.eventproposals.all %} Delete Person + {% endif %} {% endif %}