<%= gettext "The event %{title} was updated", title: @old_event.title %>
|
<%= 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 %>
<%= if MapSet.member?(@changes, :title) do %>
<%= gettext "Title" %>
|
<%= @event.title %>
|
<% end %>
<%= if MapSet.member?(@changes, :begins_on) do %>
<%= gettext "Start of event" %>
|
<%= datetime_to_string(@event.begins_on, @locale) %>
|
<% end %>
<%= if MapSet.member?(@changes, :ends_on) do %>
<%= gettext "Ending of event" %>
|
<%= datetime_to_string(@event.ends_on, @locale) %>
|
<% end %>
|
|
<%= gettext "If you need to cancel your participation, just access the event page through link above and click on the participation button." %>
|
|