digest.text.erb 635 B

123456789101112131415
  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 %>