forked from potsda.mn/mobilizon
Merge branch 'fix-ics-status' into 'main'
feat(export): add event status in iCalendar exports See merge request framasoft/mobilizon!1469
This commit is contained in:
commit
5681e6e8b8
|
@ -127,6 +127,7 @@ defmodule Mobilizon.Service.Export.ICalendar do
|
|||
description: HTML.strip_tags(event.description),
|
||||
uid: event.uuid,
|
||||
url: event.url,
|
||||
status: event.status,
|
||||
organizer: organizer(event)
|
||||
}
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@ defmodule Mobilizon.Service.ICalendarTest do
|
|||
GEO:#{event.physical_address |> Address.coords() |> Tuple.to_list() |> Enum.join(";")}
|
||||
LOCATION:#{Address.representation(event.physical_address)}
|
||||
ORGANIZER:#{event.organizer_actor.name}
|
||||
STATUS:#{event.status |> to_string() |> String.upcase()}
|
||||
SUMMARY:#{event.title}
|
||||
UID:#{event.uuid}
|
||||
URL:#{event.url}
|
||||
|
|
Loading…
Reference in a new issue