mirror of
https://github.com/mastodon/mastodon
synced 2024-12-16 15:48:17 +09:00
f596a413ef
* Localize date in digest * Cover NotificationMailer more
16 lines
559 B
Plaintext
16 lines
559 B
Plaintext
<%= display_name(@me) %>,
|
|
|
|
<%= raw t('notification_mailer.digest.body', since: l(@since), instance: root_url) %>
|
|
<% @notifications.each do |notification| %>
|
|
|
|
* <%= raw t('notification_mailer.digest.mention', name: notification.from_account.acct) %>
|
|
|
|
<%= raw Formatter.instance.plaintext(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 %>
|