Added opt-out/unsubscribe links at bottom of all emails

• Added:
- opt-out/unsubscribe links at bottom of all emails in layout
This commit is contained in:
Developer 2021-02-23 13:30:28 -05:00
parent 8deb255593
commit 4b8df32371
4 changed files with 8 additions and 0 deletions

View File

@ -85,6 +85,10 @@
%tr
%td{:align => "center", :style => "vertical-align:middle;padding:0 0 22px 0;"}
%p{:style => "color:#bbb;font-size:14px;margin:0;"} 700 N. State Street, Clarks Summit, PA 18411
%tr
%td{:align => "center", :style => "vertical-align:middle;padding:0 0 22px 0;"}
%a{:style => "color:#bbb;font-size:14px;margin:0;", :href => settings_notifications_url}= t('application_mailer.opt_out')
%tr
%td{:align => "center", :style => "padding-top:29px;padding-bottom:50px"}

View File

@ -10,3 +10,5 @@ Gab.com
<%= t 'about.hosted_on', domain: site_hostname %>
<%= t('application_mailer.settings', link: settings_preferences_url) %>
<%= t('application_mailer.opt_out') %>
<%= settings_notifications_url %>

View File

@ -540,6 +540,7 @@ en:
view: 'View:'
view_profile: View profile
view_status: View status
opt_out: Unsubscribe
applications:
created: Application successfully created
destroyed: Application successfully deleted

View File

@ -505,6 +505,7 @@ en_GB:
view: 'View:'
view_profile: View Profile
view_status: View status
opt_out: Unsubscribe
applications:
created: Application successfully created
destroyed: Application successfully deleted