This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/views/notification_mailer/digest.text.erb

16 lines
639 B
Plaintext
Raw Normal View History

<%= raw t('application_mailer.salutation', name: display_name(@me)) %>
2017-03-03 14:45:48 -08:00
<%= raw t('notification_mailer.digest.body', since: l(@me.user_current_sign_in_at || @since), instance: root_url) %>
2017-03-03 14:45:48 -08:00
<% @notifications.each do |notification| %>
* <%= raw t('notification_mailer.digest.mention', name: notification.from_account.pretty_acct) %>
2017-03-03 14:45:48 -08:00
<%= raw extract_status_plain_text(notification.target_status) %>
2017-03-03 14:45:48 -08:00
<%= 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 %>