mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Refs #3211 -- Add code comment on ical organizer field
This commit is contained in:
@@ -86,6 +86,7 @@ def get_public_ical(events):
|
|||||||
))
|
))
|
||||||
|
|
||||||
descr.append(_('Organizer: {organizer}').format(organizer=event.organizer.name))
|
descr.append(_('Organizer: {organizer}').format(organizer=event.organizer.name))
|
||||||
|
# Actual ical organizer field is not useful since it will cause "your invitation was accepted" emails to the organizer
|
||||||
|
|
||||||
vevent.add('description').value = '\n'.join(descr)
|
vevent.add('description').value = '\n'.join(descr)
|
||||||
return cal
|
return cal
|
||||||
@@ -139,6 +140,7 @@ def get_private_icals(event, positions):
|
|||||||
datetime=date_format(ev.date_admission.astimezone(tz), 'SHORT_DATETIME_FORMAT')
|
datetime=date_format(ev.date_admission.astimezone(tz), 'SHORT_DATETIME_FORMAT')
|
||||||
))
|
))
|
||||||
|
|
||||||
|
# Actual ical organizer field is not useful since it will cause "your invitation was accepted" emails to the organizer
|
||||||
descr.append(_('Organizer: {organizer}').format(organizer=event.organizer.name))
|
descr.append(_('Organizer: {organizer}').format(organizer=event.organizer.name))
|
||||||
description = '\n'.join(descr)
|
description = '\n'.join(descr)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user