2020-08-10 14:57:26 +00:00
< % = gettext " What's up today? " % >
2020-02-18 07:57:00 +00:00
==
< % = ngettext " You have one event today: " , " You have %{total} events today: " , @total , total : @total % >
< % = if @total > 1 do % >
< % = for participation <- @participations do % >
2021-10-15 13:58:49 +00:00
- < % = render ( " date/event_tz_date.text " , event : participation . event , date : participation . event . begins_on , timezone : @timezone , locale : @locale ) % > - < % = participation . event . title % > < % = Routes . page_url ( Mobilizon.Web.Endpoint , :event , participation . event . uuid ) % >
2020-02-18 07:57:00 +00:00
< % end % >
< % else % >
2021-10-15 13:58:49 +00:00
< % = render ( " date/event_tz_date.text " , event : @participation . event , date : @participation . event . begins_on , timezone : @timezone , locale : @locale ) % > - < % = @participation . event . title % > < % = Routes . page_url ( Mobilizon.Web.Endpoint , :event , @participation . event . uuid ) % >
2020-02-18 07:57:00 +00:00
< % end % >
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. " , @total % >