about summary refs log tree commit diff
path: root/app/views/notification_mailer/digest.text.erb
blob: 0f84a4ef05aa5de8101e93d7da28a9dbf9b1e7d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<%= raw t('application_mailer.salutation', name: display_name(@me)) %>

<%= raw t('notification_mailer.digest.body', since: l(@me.user_current_sign_in_at || @since), instance: root_url) %>
<% @notifications.each do |notification| %>

* <%= raw t('notification_mailer.digest.mention', name: notification.from_account.pretty_acct) %>

  <%= raw extract_status_plain_text(notification.target_status) %>

  <%= raw t('application_mailer.view')%> <%= web_url("statuses/#{notification.target_status.id}") %>
<% end %>
<% if @follows_since > 0 %>

<%= raw t('notification_mailer.digest.new_followers_summary', count: @follows_since) %>
<% end %>