Slightly improved e-mail notifications

master
Eugen Rochko 8 years ago
parent 2d4f9ecebf
commit 31a0202546
  1. 3
      app/views/notification_mailer/_status.text.erb
  2. 2
      app/views/notification_mailer/favourite.text.erb
  3. 4
      app/views/notification_mailer/mention.text.erb
  4. 2
      app/views/notification_mailer/reblog.text.erb

@ -0,0 +1,3 @@
<%= strip_tags(@status.content) %>
<%= TagManager.instance.url_for(@status) %>

@ -2,4 +2,4 @@
Your status was favourited by <%= @account.acct %>:
<%= account_stream_entry_url(@me, @status.stream_entry) %>
<%= render partial: 'status' %>

@ -2,6 +2,4 @@
You were mentioned by <%= @status.account.acct %> in:
<%= strip_tags(@status.content) %>
<%= TagManager.instance.url_for(@status) %>
<%= render partial: 'status' %>

@ -2,4 +2,4 @@
Your status was reblogged by <%= @account.acct %>:
<%= account_stream_entry_url(@me, @status.stream_entry) %>
<%= render partial: 'status' %>

Loading…
Cancel
Save