only show upcoming sessions

This commit is contained in:
erichhasl
2018-03-15 21:36:33 +01:00
parent 551de5d2ec
commit 1f6b4b6d01
2 changed files with 7 additions and 0 deletions
@@ -11,12 +11,14 @@
<p>Hier sind die nächsten Parlamentssitzungen, falls bereits geplant, zu sehen.</p>
<ul>
{% for session in sessions %}
{% if not session.passed %}
<li>
{{ session.date }}, {{ session.stunde }}, {{ session.raum }}
{% if session.tagesordnung %}
(<a href="{{ session.tagesordnung.url }}">Tagesordnung</a>)
{% endif %}
</li>
{% endif %}
{% endfor %}
</ul>
<h1 class="red">Kabinett</h1>