31 lines
1.3 KiB
Text
31 lines
1.3 KiB
Text
{#- © by L3D <l3d@c3woc.de> #}
|
|
{% set fqdn = '/' | url(external=true) | string -%}
|
|
|
|
BEGIN:VEVENT
|
|
UID:{{ blk.start.strftime('%m%H%d%M%Y%S') }}{{ blk.event[:1] }}{{ blk.event[-1:] }}{{ blk.ende.strftime('%m%H%d%M%Y%S') }}@{{ fqdn[8:-1] }}
|
|
DTSTART;VALUE=DATE-TIME;TZID=Europe/Berlin:{{ blk.start.strftime('%Y%m%dT%H%M%S') }}
|
|
DTSTAMP;VALUE=DATE-TIME;TZID=Europe/Berlin:{{ blk.start.strftime('%Y%m%dT%H%M%S') }}
|
|
CLASS:PUBLIC
|
|
DESCRIPTION;LANGUAGE={{ this.lang }}:{{ blk.description|replace( "|", "\\n") | wordwrap(width=35, wrapstring='\n ') }}
|
|
{%- if blk.url is defined and not blk.url == '' %}\n
|
|
Weiteres dazu auf
|
|
{{ blk.url | wordwrap(width=65, wrapstring='\n ') }}{% endif %}
|
|
LOCATION;LANGUAGE={{ this.lang }}:{{ blk.ort | wordwrap(width=45, wrapstring='\n ') }}
|
|
{%- if blk.confirmed == 'true' -%}{{- '\n' -}}
|
|
STATUS:CONFIRMED
|
|
METHOD:PUBLISH
|
|
{%- elif blk.confirmed == 'canceled' -%}{{- '\n' -}}
|
|
STATUS:CANCELLED
|
|
METHOD:CANCEL
|
|
{%- else -%}{{- '\n' -}}
|
|
STATUS:TENTATIVE
|
|
{%- endif -%} {{- '\n' -}}
|
|
SUMMARY;LANGUAGE={{ this.lang }}:{{ blk.event | wordwrap(width=45, wrapstring='\n ') }}
|
|
TRANSP:OPAQUE
|
|
{%- if blk.url is defined %}
|
|
URL:{{ blk.url }}
|
|
{%- endif %}
|
|
DTEND;VALUE=DATE-TIME;TZID=Europe/Berlin:{{ blk.ende.strftime('%Y%m%dT%H%M%S') }}
|
|
CONTACT;LANGUAGE={{ this.lang }}:{{ blk.mail }}
|
|
COLOR:{{ blk.color }}
|
|
END:VEVENT
|