diff options
author | Markus Zapke-Grùˆndemann <info@keimlink.de> | 2012-01-06 09:28:13 +0100 |
---|---|---|
committer | Markus Zapke-Grùˆndemann <info@keimlink.de> | 2012-01-06 09:28:13 +0100 |
commit | 0dd0d9c44722f4d4b16fe5654c634b5ac2337f13 (patch) | |
tree | 661af0ef39bff99a31e20086fae7025a190a83f9 /sublab_project/calendarium/templates | |
parent | 50207143df534b12dc100e9db2b84ff84ea2a9e2 (diff) |
Added view for all events. CSS needs some love.
Diffstat (limited to 'sublab_project/calendarium/templates')
-rw-r--r-- | sublab_project/calendarium/templates/calendarium/list_events.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sublab_project/calendarium/templates/calendarium/list_events.html b/sublab_project/calendarium/templates/calendarium/list_events.html new file mode 100644 index 0000000..6e0b4d4 --- /dev/null +++ b/sublab_project/calendarium/templates/calendarium/list_events.html @@ -0,0 +1,20 @@ +{% extends 'base.html' %} + +{% block title %}Termine{% endblock %} + +{%block content %} + <h2>Termine</h2> + <p>Hier findest du Veranstaltungen, die im sublab und dessen Umgebung stattfinden.</p> + <h3>Veranstaltungen im sublab</h3> + <ul class="events"> + {% for event in events_source_import %} + <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> + <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 %} + </ul> +{% endblock content %} |