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

View file

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

View file

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