mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-23 16:33:28 +00:00
21 lines
893 B
Elixir
21 lines
893 B
Elixir
<%= gettext "Event updated!" %>
|
|
|
|
==
|
|
|
|
<%= gettext "The event %{title} was just updated", title: @old_event.title %>
|
|
|
|
<%= if MapSet.member?(@changes, :title) do %>
|
|
<%= gettext "New title: %{title}", title: @event.title %>
|
|
<% end %>
|
|
|
|
<%= if MapSet.member?(@changes, :begins_on) do %>
|
|
<%= gettext "New date and time for start of event: %{begins_on}", begins_on: datetime_to_string(@event.begins_on, @locale) %>
|
|
<% end %>
|
|
|
|
<%= if MapSet.member?(@changes, :ends_on) && !is_nil(@event.ends_on) do %>
|
|
<%= gettext "New date and time for ending of event: %{ends_on}", ends_on: datetime_to_string(@event.ends_on, @locale) %>
|
|
<% end %>
|
|
|
|
<%= gettext "View the updated event on: %{link}", link: page_url(Mobilizon.Web.Endpoint, :event, @event.id) %>
|
|
|
|
<%= gettext "If you need to cancel your participation, just access the event page through link above and click on the participation button." %>
|