Adding e-mail notifications about mentions, follows, favourites and reblogs. Fixing another mention recording bug
This commit is contained in:
parent
e2b846f630
commit
2b116131d7
15 changed files with 185 additions and 12 deletions
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) %>
|
Loading…
Add table
Add a link
Reference in a new issue