summaryrefslogtreecommitdiff
path: root/template/calendar_event.j2
blob: c8418f174c28b20f37c43720d82563d796362a09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{%- if event.recurring %}
<p class="recurring" {% if 'id' in event %}id="event-{{event.id}}"{% endif %}>
{%- else %}
<p class="onetime" {% if 'id' in event %}id="event-{{event.id}}"{% endif %}>
{%- 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>