summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sublab_project/calendarium/templates/calendarium/list_events.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/sublab_project/calendarium/templates/calendarium/list_events.html b/sublab_project/calendarium/templates/calendarium/list_events.html
index 6e0b4d4..b70b830 100644
--- a/sublab_project/calendarium/templates/calendarium/list_events.html
+++ b/sublab_project/calendarium/templates/calendarium/list_events.html
@@ -11,10 +11,12 @@
<li>{{ event.start|date:"l, j. F Y H:i" }} bis {{ event.end|date:"H:i" }} Uhr - {{ event.name }}<br/>{{ event.description }}</li>
{% endfor %}
</ul>
+ {% if events_source_admin %}
<h3>Was sonst noch los ist</h3>
<ul class="events">
{% for event in events_source_admin %}
<li>{{ event.start|date:"l, j. F Y H:i" }} bis {{ event.end|date:"l, j. F Y H:i" }} Uhr - {{ event.name }}<br/>{{ event.description }}</li>
{% endfor %}
+ {% endif %}
</ul>
{% endblock content %}