summaryrefslogtreecommitdiff
path: root/template/tabcalendar_list.j2
blob: a61a013eb1480f5412270eea982a6d6f75e1132a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<div class="tabcalendar-details">
{%- for event in events %}
<div class="tabcalendar-event-details" id="event-{{event.id}}">
<p><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>
<p>{{ event.description|default('Keine Beschreibung', true) }}</p>
</div>
{%- endfor %}
</div>