Image

<%= Gettext.dpgettext("static_pages", "digest email header line", "Hey %{nickname}, here is what you've missed!", nickname: @user.nickname) %>

Mentions

<%= for %{data: mention, object: object, from: from} <- @mentions do %> <%# mention START %> <%# user card START %>
<%= from.name %>

<%= from.name %>

<%= link "@" <> from.nickname, style: "color: #{@styling.link_color};text-decoration: none;", to: mention.activity.actor %>

<%# user card END %>
<%= raw object.data["content"] %>

<%= format_date object.data["published"] %>

<%# mention END %> <% end %> <%= if @followers != [] do %> <%# new followers header START %>

<%= Gettext.dpngettext("static_pages", "new followers count header", "%{count} New Follower", "%{count} New Followers", length(@followers), count: length(@followers)) %>

<%# new followers header END %> <%= for %{data: follow, from: from} <- @followers do %> <%# user card START %>
<%= from.name %>

<%= from.name %>

<%= link "@" <> from.nickname, style: "color: #{@styling.link_color};text-decoration: none;", to: follow.activity.actor %>

<%# user card END %> <% end %> <% end %> <%# divider start %>
<%# divider end %>

<%= raw Gettext.dpgettext("static_pages", "digest email sending reason", "You have received this email because you have signed up to receive digest emails from %{instance} Pleroma instance.", instance: safe_to_string(html_escape(@instance))) %>

 

<%= raw Gettext.dpgettext("static_pages", "digest email receiver address", "The email address you are subscribed as is %{email}. ", color: safe_to_string(html_escape(@styling.link_color)), email: safe_to_string(html_escape(@user.email))) %>

<%= raw Gettext.dpgettext("static_pages", "digest email unsubscribe action", "To unsubscribe, please go %{here}.", here: safe_to_string link(Gettext.dpgettext("static_pages", "digest email unsubscribe action link text", "here"), style: "color: #{@styling.link_color};text-decoration: none;", to: @unsubscribe_link)) %>