Skip to content

Commit 8f7a5e5

Browse files
committed
Added webex URL to agenda.ics if Room.webex_url is non-empty. Fixes issue ietf-tools#2926.
- Legacy-Id: 17471
1 parent ea1d21a commit 8f7a5e5

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

ietf/templates/meeting/agenda.ics

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ SUMMARY:{% if item.session.name %}{{item.session.name|ics_esc}}{% else %}{% if n
1010
CLASS:PUBLIC
1111
DTSTART{% if schedule.meeting.time_zone %};TZID="{{schedule.meeting.time_zone}}"{%endif%}:{{ item.timeslot.time|date:"Ymd" }}T{{item.timeslot.time|date:"Hi"}}00
1212
DTEND{% if schedule.meeting.time_zone %};TZID="{{schedule.meeting.time_zone}}"{%endif%}:{{ item.timeslot.end_time|date:"Ymd" }}T{{item.timeslot.end_time|date:"Hi"}}00
13-
DTSTAMP:{{ item.timeslot.modified|date:"Ymd" }}T{{ item.timeslot.modified|date:"His" }}Z
14-
{% if item.session.agenda %}URL:{{item.session.agenda.get_versionless_href}}
13+
DTSTAMP:{{ item.timeslot.modified|date:"Ymd" }}T{{ item.timeslot.modified|date:"His" }}Z{% if item.session.agenda %}
14+
URL:{{item.session.agenda.get_versionless_href}}{% endif %}
1515
DESCRIPTION:{{item.timeslot.name|ics_esc}}\n{% if item.session.agenda_note %}
16-
Note: {{item.session.agenda_note|ics_esc}}\n{% endif %}{% for material in item.session.materials.all %}
16+
Note: {{item.session.agenda_note|ics_esc}}\n{% endif %}{% if item.timeslot.location.webex_url %}
17+
Webex: {{ item.timeslot.location.webex_url }}\n{% endif %}{% for material in item.session.materials.all %}
1718
\n{{material.type}}{% if material.type.name != "Agenda" %}
1819
({{material.title|ics_esc}}){% endif %}:
1920
{{material.get_versionless_href}}\n{% endfor %}
20-
{% endif %}END:VEVENT
21+
END:VEVENT
2122
{% endif %}{% endfor %}END:VCALENDAR{% endcache %}{% endautoescape %}

0 commit comments

Comments
 (0)