datatracker/ietf/templates/meeting/agendaREDESIGN.ics

30 lines
1.5 KiB
Plaintext

{% load humanize %}{% autoescape off %}{% load ietf_filters %}BEGIN:VCALENDAR
VERSION:2.0
METHOD:PUBLISH
{% if meeting.time_zone %}BEGIN:VTIMEZONE
TZID:{{meeting.time_zone}}
BEGIN:STANDARD
TZOFFSETFROM:{{meeting.time_zone_offset}}
TZOFFSETTO:{{meeting.time_zone_offset}}
TZNAME:{{meeting.time_zone}}
DTSTART:19700101T000000
END:STANDARD
END:VTIMEZONE{% endif %}{% for slot in timeslots %}
BEGIN:VEVENT
UID:ietf-{{slot.meeting.number}}-{{slot.pk}}
SUMMARY:{% if slot.session.name %}{{slot.session.name}}{% else %}{% if slot.type.name == "Break" %}{{slot.name}}{% else %}{{slot.session.group.acronym|upper}} - {{slot.session.group.name}}{% endif%}{%endif%}
{% if slot.show_location %}LOCATION:{{slot.get_location}}
{% endif %}STATUS:TENTATIVE
CLASS:PUBLIC
DTSTART{% if meeting.time_zone %};TZID="{{meeting.time_zone}}"{%endif%}:{{ slot.time|date:"Ymd" }}T{{slot.time|date:"Hi"}}00
DTEND{% if meeting.time_zone %};TZID="{{meeting.time_zone}}"{%endif%}:{{ slot.end_time|date:"Ymd" }}T{{slot.end_time|date:"Hi"}}00
DTSTAMP:{{ slot.modified|date:"Ymd" }}T{{ slot.modified|date:"His" }}Z
{% if slot.session.agenda %}URL:http://www.ietf.org{{slot.session.agenda.get_absolute_url}}
DESCRIPTION:{{slot.name}}\n{% if slot.session.agenda_note %}
Note: {{slot.session.agenda_note}}\n{% endif %}{% for material in slot.session.materials.all %}
\n{{material.type}}{% if material.type.name != "Agenda" %}
({{material.title}}){% endif %}:
http://www.ietf.org{{material.get_absolute_url}}\n{% endfor %}
{% endif %}END:VEVENT{% endfor %}
END:VCALENDAR{% endautoescape %}