Fix export ical
This commit is contained in:
parent
14e25b660c
commit
02448cf4d4
@ -1700,8 +1700,9 @@ class Event(models.Model):
|
|||||||
eventIcal.add("summary", event.title)
|
eventIcal.add("summary", event.title)
|
||||||
eventIcal.add("name", event.title)
|
eventIcal.add("name", event.title)
|
||||||
url = ("\n" + event.reference_urls[0]) if event.reference_urls and len(event.reference_urls) > 0 else ""
|
url = ("\n" + event.reference_urls[0]) if event.reference_urls and len(event.reference_urls) > 0 else ""
|
||||||
|
description = event.description if event.description else ""
|
||||||
eventIcal.add(
|
eventIcal.add(
|
||||||
"description", event.description + url
|
"description", description + url
|
||||||
)
|
)
|
||||||
eventIcal.add("location", event.exact_location or event.location)
|
eventIcal.add("location", event.exact_location or event.location)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user