show coming soon text for speakers, schedule and events. fix #93.
This commit is contained in:
parent
ab01797e51
commit
999c7e971b
|
@ -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 %}
|
||||||
|
|
|
@ -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 %}
|
||||||
|
|
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in a new issue