2019-09-30 18:18:04 +02:00
|
|
|
<%= gettext "Event updated!" %>
|
|
|
|
|
|
|
|
==
|
|
|
|
|
|
|
|
<%= gettext "The event %{title} was just updated", title: @old_event.title %>
|
|
|
|
|
2020-02-18 08:57:00 +01:00
|
|
|
<%= if MapSet.member?(@changes, :status) do %>
|
|
|
|
<%= case @event.status do %>
|
|
|
|
<% :confirmed -> %>
|
|
|
|
<%= gettext "Event has been confirmed" %>
|
|
|
|
<% :tentative -> %>
|
|
|
|
<%= gettext "Event status has been set as tentative" %>
|
|
|
|
<% :cancelled -> %>
|
|
|
|
<%= gettext "Event has been cancelled" %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
2019-09-30 18:18:04 +02:00
|
|
|
<%= if MapSet.member?(@changes, :title) do %>
|
|
|
|
<%= gettext "New title: %{title}", title: @event.title %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<%= if MapSet.member?(@changes, :begins_on) do %>
|
2019-10-01 13:08:09 +02:00
|
|
|
<%= gettext "New date and time for start of event: %{begins_on}", begins_on: datetime_to_string(@event.begins_on, @locale) %>
|
2019-09-30 18:18:04 +02:00
|
|
|
<% end %>
|
|
|
|
|
2019-10-14 19:29:18 +02:00
|
|
|
<%= if MapSet.member?(@changes, :ends_on) && !is_nil(@event.ends_on) do %>
|
2019-10-01 13:08:09 +02:00
|
|
|
<%= gettext "New date and time for ending of event: %{ends_on}", ends_on: datetime_to_string(@event.ends_on, @locale) %>
|
2019-09-30 18:18:04 +02:00
|
|
|
<% end %>
|
|
|
|
|
2020-02-10 09:58:16 +01:00
|
|
|
<%= gettext "View the updated event on: %{link}", link: page_url(Mobilizon.Web.Endpoint, :event, @event.uuid) %>
|
2019-09-30 18:18:04 +02:00
|
|
|
|
|
|
|
<%= gettext "If you need to cancel your participation, just access the event page through link above and click on the participation button." %>
|