webseite/templates/waffeln.ics

22 lines
597 B
Text
Raw Normal View History

2019-02-14 15:45:50 +01:00
{% set fqdn = 'c3woc.de'
%}BEGIN:VCALENDAR
VERSION:2.0
2019-02-14 15:45:50 +01:00
CALSCALE:GREGORIAN
PRODID:https://{{ fqdn }}/{{ this._id }}
METHOD:PUBLISH{%
for blk in this.termine.blocks %}
BEGIN:VEVENT
2019-02-14 15:45:50 +01:00
SUMMARY:{{ blk.event }}
ORGANIZER;CN="C3 Waffel Operation Center":MAILTO:waffel@{{ fqdn }}
DTSTART;TZID=Europe/Berlin:{{ blk.start.strftime('%Y%m%dT%H%M%S') }}
DTEND;TZID=Europe/Berlin:{{ blk.ende.strftime('%Y%m%dT%H%M%S') }}
STATUS:{%
if blk.confirmed %}CONFIRMED{%
else %}TENTATIVE{% endif %}
LOCATION:{{ blk.ort }}
SUMMARY:{{ blk.summary }}
DESCRIPTION:{{ blk.url }}
END:VEVENT{%
endfor %}
END:VCALENDAR