Adding e-mail notifications about mentions, follows, favourites and reblogs. Fixing another mention recording bug
This commit is contained in:
5
app/views/notification_mailer/favourite.text.erb
Normal file
5
app/views/notification_mailer/favourite.text.erb
Normal file
@@ -0,0 +1,5 @@
|
||||
<%= display_name(@me) %>,
|
||||
|
||||
Your status was favourited by <%= @account.acct %>:
|
||||
|
||||
<%= account_stream_entry_url(@me, @status.stream_entry) %>
|
5
app/views/notification_mailer/follow.text.erb
Normal file
5
app/views/notification_mailer/follow.text.erb
Normal file
@@ -0,0 +1,5 @@
|
||||
<%= display_name(@me) %>,
|
||||
|
||||
<%= @account.acct %> is now following you!
|
||||
|
||||
<%= url_for_target(@account) %>
|
7
app/views/notification_mailer/mention.text.erb
Normal file
7
app/views/notification_mailer/mention.text.erb
Normal file
@@ -0,0 +1,7 @@
|
||||
<%= display_name(@me) %>,
|
||||
|
||||
You were mentioned by <%= @status.account.acct %> in:
|
||||
|
||||
<%= @status.content %>
|
||||
|
||||
<%= url_for_target(@status) %>
|
5
app/views/notification_mailer/reblog.text.erb
Normal file
5
app/views/notification_mailer/reblog.text.erb
Normal file
@@ -0,0 +1,5 @@
|
||||
<%= display_name(@me) %>,
|
||||
|
||||
Your status was reblogged by <%= @account.acct %>:
|
||||
|
||||
<%= account_stream_entry_url(@me, @status.stream_entry) %>
|
Reference in New Issue
Block a user