UX: include a link to change email preferences at the bottom of summary emails as an alternative to unsubscribing
This commit is contained in:
parent
81eb3218b2
commit
eee00b5bb5
|
@ -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'>
|
<div dir="<%= rtl? ? 'rtl' : 'ltr' %>" class='footer'>
|
||||||
<%=raw(t 'user_notifications.digest.unsubscribe',
|
<%=raw(t 'user_notifications.digest.unsubscribe',
|
||||||
site_link: html_site_link(@anchor_color),
|
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}"})) %>
|
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>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -2587,7 +2587,7 @@ en:
|
||||||
popular_posts: "Popular Posts"
|
popular_posts: "Popular Posts"
|
||||||
more_new: "New for you"
|
more_new: "New for you"
|
||||||
subject_template: "[%{email_prefix}] Summary"
|
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"
|
click_here: "click here"
|
||||||
from: "%{site_name} summary"
|
from: "%{site_name} summary"
|
||||||
preheader: "A brief summary since your last visit on %{last_seen_at}"
|
preheader: "A brief summary since your last visit on %{last_seen_at}"
|
||||||
|
|
Loading…
Reference in New Issue