mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-12-02 11:39:04 +01:00
cefa526c6d
* Refactor formatter * Move custom emoji pre-rendering logic to view helpers * Move more methods out of Formatter * Fix code style issues * Remove Formatter * Add inline poll options to RSS feeds * Remove unused helper method * Fix code style issues * Various fixes and improvements * Fix test
15 lines
672 B
Text
15 lines
672 B
Text
<%= 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_plain_text(notification.target_status.text, notification.target_status.local?) %>
|
|
|
|
<%= 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 %>
|