logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 31a0202546acb20094eb6367061e50f5525cc7ed
parent: 2d4f9ecebf286aa9868f00373294c5e68b6f4b93
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Sun,  2 Oct 2016 15:37:35 +0200

Slightly improved e-mail notifications

Diffstat:

Aapp/views/notification_mailer/_status.text.erb3+++
Mapp/views/notification_mailer/favourite.text.erb2+-
Mapp/views/notification_mailer/mention.text.erb4+---
Mapp/views/notification_mailer/reblog.text.erb2+-
4 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/app/views/notification_mailer/_status.text.erb b/app/views/notification_mailer/_status.text.erb @@ -0,0 +1,3 @@ +<%= strip_tags(@status.content) %> + +<%= TagManager.instance.url_for(@status) %> diff --git a/app/views/notification_mailer/favourite.text.erb b/app/views/notification_mailer/favourite.text.erb @@ -2,4 +2,4 @@ Your status was favourited by <%= @account.acct %>: -<%= account_stream_entry_url(@me, @status.stream_entry) %> +<%= render partial: 'status' %> diff --git a/app/views/notification_mailer/mention.text.erb b/app/views/notification_mailer/mention.text.erb @@ -2,6 +2,4 @@ You were mentioned by <%= @status.account.acct %> in: -<%= strip_tags(@status.content) %> - -<%= TagManager.instance.url_for(@status) %> +<%= render partial: 'status' %> diff --git a/app/views/notification_mailer/reblog.text.erb b/app/views/notification_mailer/reblog.text.erb @@ -2,4 +2,4 @@ Your status was reblogged by <%= @account.acct %>: -<%= account_stream_entry_url(@me, @status.stream_entry) %> +<%= render partial: 'status' %>