闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
635 B

  1. <%= raw t('application_mailer.salutation', name: display_name(@me)) %>
  2. <%= raw t('notification_mailer.digest.body', since: l(@me.user_current_sign_in_at || @since), instance: root_url) %>
  3. <% @notifications.each do |notification| %>
  4. * <%= raw t('notification_mailer.digest.mention', name: notification.from_account.acct) %>
  5. <%= raw Formatter.instance.plaintext(notification.target_status) %>
  6. <%= raw t('application_mailer.view')%> <%= web_url("statuses/#{notification.target_status.id}") %>
  7. <% end %>
  8. <% if @follows_since > 0 %>
  9. <%= raw t('notification_mailer.digest.new_followers_summary', count: @follows_since) %>
  10. <% end %>