b315e1d7ff
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
17 lines
804 B
Plaintext
17 lines
804 B
Plaintext
<%= case @activity.subject do %>
|
|
<% :conversation_created -> %>
|
|
<%= dgettext("activity", "%{profile} mentionned you in a %{conversation}.", %{
|
|
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
|
conversation:
|
|
"<a href=\"#{~p"/conversations/#{@activity.subject_params["conversation_participant_id"]}" |> url() |> URI.decode()}\">conversation</a>"
|
|
})
|
|
|> raw %>
|
|
<% :conversation_replied -> %>
|
|
<%= dgettext("activity", "%{profile} replied you in a %{conversation}.", %{
|
|
profile: "<b>#{escaped_display_name_and_username(@activity.author)}</b>",
|
|
conversation:
|
|
"<a href=\"#{~p"/conversations/#{@activity.subject_params["conversation_participant_id"]}" |> url() |> URI.decode()}\">conversation</a>"
|
|
})
|
|
|> raw %>
|
|
<% end %>
|