Merged in [11079] from kivinen@iki.fi:

Fixed ICS UIDs so they are unique, even if the timeslot is same. Fixes #1522.
 - Legacy-Id: 11092
Note: SVN reference [11079] has been migrated to Git commit 180624c430
This commit is contained in:
Henrik Levkowetz 2016-04-04 19:44:20 +00:00
commit 4b467d3624

View file

@ -3,7 +3,7 @@ VERSION:2.0
METHOD:PUBLISH
PRODID:-//IETF//datatracker.ietf.org ical agenda//EN
{{schedule.meeting.vtimezone}}{% for item in assignments %}{% if item.session.historic_group %}BEGIN:VEVENT
UID:ietf-{{schedule.meeting.number}}-{{item.timeslot.pk}}
UID:ietf-{{schedule.meeting.number}}-{{item.timeslot.pk}}-{{item.session.group.acronym}}
SUMMARY:{% if item.session.name %}{{item.session.name|ics_esc}}{% else %}{% if not item.session.historic_group %}{{item.timeslot.name|ics_esc}}{% else %}{{item.session.historic_group.acronym|lower}} - {{item.session.historic_group.name}}{% endif%}{%endif%}
{% if item.timeslot.show_location %}LOCATION:{{item.timeslot.get_location}}
{% endif %}STATUS:{{item.session.ical_status}}