UX: include a link to change email preferences at the bottom of summary emails as an alternative to unsubscribing

This commit is contained in:
Neil Lalonde 2017-06-26 12:27:16 -04:00
parent 81eb3218b2
commit eee00b5bb5
2 changed files with 2 additions and 1 deletions

View File

@ -419,6 +419,7 @@ body, table, td, th, h1, h2, h3 {font-family: Helvetica, Arial, sans-serif !impo
<div dir="<%= rtl? ? 'rtl' : 'ltr' %>" class='footer'>
<%=raw(t 'user_notifications.digest.unsubscribe',
site_link: html_site_link(@anchor_color),
email_settings_url: Discourse.base_url + '/my/preferences/emails',
unsubscribe_link: link_to(t('user_notifications.digest.click_here'), email_unsubscribe_url(host: Discourse.base_url_no_prefix, key: @unsubscribe_key), {:style=>"color: ##{@anchor_color}"})) %>
</div>

View File

@ -2587,7 +2587,7 @@ en:
popular_posts: "Popular Posts"
more_new: "New for you"
subject_template: "[%{email_prefix}] Summary"
unsubscribe: "This summary is sent from %{site_link} when we haven't seen you in a while. To unsubscribe %{unsubscribe_link}."
unsubscribe: "This summary is sent from %{site_link} when we haven't seen you in a while. Change <a href='%{email_settings_url}'>your email settings</a>, or %{unsubscribe_link} to unsubscribe."
click_here: "click here"
from: "%{site_name} summary"
preheader: "A brief summary since your last visit on %{last_seen_at}"