2020-08-10 14:57:26 +00:00
< % = gettext " Event update! " % >
2019-09-30 16:18:04 +00:00
==
2020-08-10 14:57:26 +00:00
< % = gettext " There have been changes for %{title} so we'd thought we'd let you know. " , title : @old_event . title % >
2020-02-18 07:57:00 +00:00
< % = if MapSet . member? ( @changes , :status ) do % >
2020-08-10 14:57:26 +00:00
< % = case @event . status do % >
2020-02-18 07:57:00 +00:00
< % :confirmed -> % >
2020-08-10 14:57:26 +00:00
< % = gettext " This event has been confirmed " % >
2020-02-18 07:57:00 +00:00
< % :tentative -> % >
2020-08-10 14:57:26 +00:00
< % = gettext " This event has yet to be confirmed: organizers will let you know if they do confirm it. " % >
2020-02-18 07:57:00 +00:00
< % :cancelled -> % >
2020-08-10 14:57:26 +00:00
< % = gettext " This event has been cancelled by its organizers. Sorry! " % >
< % end % >
2020-02-18 07:57:00 +00:00
< % end % >
2019-09-30 16:18:04 +00:00
< % = if MapSet . member? ( @changes , :title ) do % >
2020-08-10 14:57:26 +00:00
< % = gettext " New title: %{title} " , title : @event . title % >
2019-09-30 16:18:04 +00:00
< % end % >
2021-10-15 13:58:49 +00:00
< % = if MapSet . member? ( @changes , :begins_on ) do % > < % = render ( " date/event_tz_date.text " , event : @event , date : @event . begins_on , timezone : @timezone , locale : @locale ) % >
2019-09-30 16:18:04 +00:00
< % end % >
2021-10-15 13:58:49 +00:00
< % = if MapSet . member? ( @changes , :ends_on ) && ! is_nil ( @event . ends_on ) do % > < % = render ( " date/event_tz_date.text " , event : @event , date : @event . ends_on , timezone : @timezone , locale : @locale ) % >
2019-09-30 16:18:04 +00:00
< % end % >
2021-09-10 09:27:59 +00:00
< % = gettext " Visit the updated event page: %{link} " , link : Routes . page_url ( Mobilizon.Web.Endpoint , :event , @event . uuid ) % >
2020-08-10 14:57:26 +00:00
< % = ngettext " Would you wish to cancel your attendance, visit the event page through the link above and click the « Attending » button. " , " Would you wish to cancel your attendance to one or several events, visit the event pages through the links above and click the « Attending » button. " , 1 % >