diff options
Diffstat (limited to 'template/calendar.j2')
-rw-r--r-- | template/calendar.j2 | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/template/calendar.j2 b/template/calendar.j2 index ea851a2..f69018c 100644 --- a/template/calendar.j2 +++ b/template/calendar.j2 @@ -1,18 +1,5 @@ <div class="calendar-listing {{ class }}"> {%- for event in events %} - {%- if event.recurring %} - <p class="recurring"> - {%- else %} - <p class="onetime"> - {%- endif -%} - <span class="date"> - {%- if event.multiday %} - {{- event.start.strftime('%A, %d. %B %Y').decode('utf-8') }} - {{ event.end.strftime('%A, %d. %B %Y').decode('utf-8') }} - {%- else %}{{ event.start.strftime('%A, %d. %B %Y, %H:%M Uhr').decode('utf-8') }} - {%- endif -%} - </span> <span class="name">{{ event.name }}</span></p> - <div> - <p>{{ event.description|default('Keine Beschreibung',true) }}</p> - </div> + {% include 'calendar_event.j2' %} {%- endfor %} </div> |