On corrige un bug dans l'export ical
This commit is contained in:
parent
a180534be2
commit
c78411872b
@ -1172,8 +1172,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 ""
|
||||||
eventIcal.add(
|
eventIcal.add(
|
||||||
"description", event.description + "\r" + event.reference_urls[0]
|
"description", event.description + url
|
||||||
)
|
)
|
||||||
eventIcal.add("location", event.exact_location or event.location)
|
eventIcal.add("location", event.exact_location or event.location)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user