show coming soon text for speakers, schedule and events. fix #93.

This commit is contained in:
Stephan Telling 2017-02-22 10:02:02 +01:00
parent ab01797e51
commit 999c7e971b
No known key found for this signature in database
GPG key ID: C07DFD6208200C9D
3 changed files with 13 additions and 1 deletions

View file

@ -1,6 +1,7 @@
{% extends 'program_base.html' %}
{% block program_content %}
{% if event_list %}
<p class="lead">
An alphabetical list of all talks, workshops, keynotes and other events
at {{ camp.title }}.
@ -21,4 +22,7 @@
{% endif %}
{% endfor %}
</div>
{% else %}
<h2>Events for {{ camp.title }} coming soon!</h2>
{% endif %}
{% endblock program_content %}

View file

@ -1,6 +1,7 @@
{% extends 'schedule_base.html' %}
{% block schedule_content %}
{% if eventinstances %}
{% for day in camp.camp_days %}
{{ day.lower.date|date:"D d/m" }} <br />
<div style="display: flex; flex-wrap: wrap;">
@ -19,5 +20,8 @@
</div>
<hr />
{% endfor %}
{% else %}
<h2>Schedule for {{ camp.title }} coming soon!</h2>
{% endif %}
{% endblock schedule_content %}

View file

@ -1,6 +1,7 @@
{% extends 'program_base.html' %}
{% block program_content %}
{% if speaker_list %}
<p class="lead">
An alphabetical list of all speakers, workshop hosts and other
event anchors at BornHack 2016.
@ -13,4 +14,7 @@
</a>
{% endfor %}
</div>
{% else %}
<h2>Speakers for {{ camp.title }} coming soon!</h2>
{% endif %}
{% endblock program_content %}