diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-19 19:20:07 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-19 19:20:07 +0100 |
commit | 2b116131d78460e5cbb8eacc30aaaf04106ea0fa (patch) | |
tree | 62ff3751b4f94b36335d5bd7d45374e024cd1d19 /app/views/notification_mailer | |
parent | e2b846f630cae00096a42dffeff759d0ef8e1c3e (diff) |
Adding e-mail notifications about mentions, follows, favourites and reblogs. Fixing another mention recording bug
Diffstat (limited to 'app/views/notification_mailer')
-rw-r--r-- | app/views/notification_mailer/favourite.text.erb | 5 | ||||
-rw-r--r-- | app/views/notification_mailer/follow.text.erb | 5 | ||||
-rw-r--r-- | app/views/notification_mailer/mention.text.erb | 7 | ||||
-rw-r--r-- | app/views/notification_mailer/reblog.text.erb | 5 |
4 files changed, 22 insertions, 0 deletions
diff --git a/app/views/notification_mailer/favourite.text.erb b/app/views/notification_mailer/favourite.text.erb new file mode 100644 index 000000000..e8f7c1105 --- /dev/null +++ b/app/views/notification_mailer/favourite.text.erb @@ -0,0 +1,5 @@ +<%= display_name(@me) %>, + +Your status was favourited by <%= @account.acct %>: + +<%= account_stream_entry_url(@me, @status.stream_entry) %> diff --git a/app/views/notification_mailer/follow.text.erb b/app/views/notification_mailer/follow.text.erb new file mode 100644 index 000000000..6f70c0d90 --- /dev/null +++ b/app/views/notification_mailer/follow.text.erb @@ -0,0 +1,5 @@ +<%= display_name(@me) %>, + +<%= @account.acct %> is now following you! + +<%= url_for_target(@account) %> diff --git a/app/views/notification_mailer/mention.text.erb b/app/views/notification_mailer/mention.text.erb new file mode 100644 index 000000000..c12841e94 --- /dev/null +++ b/app/views/notification_mailer/mention.text.erb @@ -0,0 +1,7 @@ +<%= display_name(@me) %>, + +You were mentioned by <%= @status.account.acct %> in: + +<%= @status.content %> + +<%= url_for_target(@status) %> diff --git a/app/views/notification_mailer/reblog.text.erb b/app/views/notification_mailer/reblog.text.erb new file mode 100644 index 000000000..253b22c1e --- /dev/null +++ b/app/views/notification_mailer/reblog.text.erb @@ -0,0 +1,5 @@ +<%= display_name(@me) %>, + +Your status was reblogged by <%= @account.acct %>: + +<%= account_stream_entry_url(@me, @status.stream_entry) %> |