<%= @subject %>

<%= case @activity.type do %> <% :comment -> %>
<%= dgettext( "activity", "%{profile} has posted a public announcement under event %{event}.", %{ profile: "#{escape_html(display_name_and_username(@activity.author))}", event: " url() |> URI.decode()}\"> #{escape_html(@activity.subject_params["event_title"])} " } ) |> raw %>
url() |> URI.decode() } target="_blank" style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;" > <%= gettext("Visit event page") %>
<% :conversation -> %>
<%= dgettext( "activity", "%{profile} has posted a private announcement about event %{event}.", %{ profile: "#{escape_html(display_name_and_username(@activity.author))}", event: " url() |> URI.decode()}\">#{escape_html(@activity.subject_params["conversation_event_title"])}" } ) |> raw %> <%= dgettext( "activity", "It might give details on how to join the event, so make sure to read it appropriately." ) %>
<%= @activity.subject_params["conversation_text"] |> sanitize_to_basic_html() |> raw() %>
<%= dgettext( "activity", "This information is sent privately to you as a person who registered for this event. Share the informations above with other people with caution." ) %>
url() |> URI.decode() } target="_blank" style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3C376E; display: inline-block;" > <%= gettext("Visit event page") %>
<% end %>