2021-06-27 18:16:34 +02:00
< % = @subject % >
==
2023-11-20 09:35:21 +01:00
< % = case @activity . type do % >
< % :comment -> % >
< % = dgettext ( " activity " , " %{profile} has posted a public announcement under event %{event}. " ,
2021-06-27 18:16:34 +02:00
%{
profile : Mobilizon.Actors.Actor . display_name_and_username ( @activity . author ) ,
event : @activity . subject_params [ " event_title " ]
}
) % >
2023-12-01 09:49:54 +01:00
< % = ~p" /events/ #{ @activity . subject_params [ " event_uuid " ] } " |> url ( ) |> URI . decode ( ) % >
2023-11-20 09:35:21 +01:00
< % :conversation -> % >
< % = dgettext ( " activity " , " %{profile} has posted a private announcement about event %{event}. " ,
%{
profile : Mobilizon.Actors.Actor . display_name_and_username ( @activity . author ) ,
event : @activity . subject_params [ " conversation_event_title " ]
}
) % >
< % = dgettext ( " activity " , " It might give details on how to join the event, so make sure to read it appropriately. " ) % >
--
2023-11-21 15:28:56 +01:00
< % = @activity . subject_params [ " conversation_text " ] |> html_to_text ( ) |> mail_quote ( ) % >
2023-11-20 09:35:21 +01:00
--
< % = 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. " ) % >
2023-12-01 09:49:54 +01:00
< % = ~p" /events/ #{ @activity . subject_params [ " conversation_event_uuid " ] } " |> url ( ) |> URI . decode ( ) % >
2023-11-20 09:35:21 +01:00
< % end % >