Browse Source

Slightly improved e-mail notifications

closed-social-glitch-2
Eugen Rochko 7 years ago
parent
commit
31a0202546
4 changed files with 6 additions and 5 deletions
  1. +3
    -0
      app/views/notification_mailer/_status.text.erb
  2. +1
    -1
      app/views/notification_mailer/favourite.text.erb
  3. +1
    -3
      app/views/notification_mailer/mention.text.erb
  4. +1
    -1
      app/views/notification_mailer/reblog.text.erb

+ 3
- 0
app/views/notification_mailer/_status.text.erb View File

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

+ 1
- 1
app/views/notification_mailer/favourite.text.erb View File

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

+ 1
- 3
app/views/notification_mailer/mention.text.erb View File

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

+ 1
- 1
app/views/notification_mailer/reblog.text.erb View File

@ -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