Browse Source

Make subgroup notification indicate it can't be turned off

Maarten van den Berg 7 years ago
parent
commit
ba36b06c3d

+ 1 - 3
app/views/participant_mailer/subgroup_notification.html.haml

29
 %hr
29
 %hr
30
 %footer
30
 %footer
31
   %p
31
   %p
32
-    = t 'activities.emails.dont_want_mail'
33
-    %a{href: "https://aardbei.maartenberg.nl/settings"}
34
-      = t 'activities.emails.open_settings'
32
+    = t 'activities.emails.cant_turn_off'

+ 1 - 2
app/views/participant_mailer/subgroup_notification.text.erb

22
 Aardbei
22
 Aardbei
23
 
23
 
24
 ---
24
 ---
25
-<%= t 'activities.emails.dont_want_mail' %>
26
-https://aardbei.maartenberg.nl/settings
25
+<%= t 'activities.emails.cant_turn_off' %>

+ 1 - 0
config/locales/activities/en.yml

71
       open_activity: "Open activity"
71
       open_activity: "Open activity"
72
       open_settings: "Preferences"
72
       open_settings: "Preferences"
73
       dont_want_mail: "If you no longer want to receive these emails, change your preferences using the following link:"
73
       dont_want_mail: "If you no longer want to receive these emails, change your preferences using the following link:"
74
+      cant_turn_off: "This email cannot be disabled, because it contains important information."
74
       ending:
75
       ending:
75
         - "Cheers,"
76
         - "Cheers,"
76
       attendance_reminder:
77
       attendance_reminder:

+ 1 - 0
config/locales/activities/nl.yml

75
       open_activity: "Activiteit openen"
75
       open_activity: "Activiteit openen"
76
       open_settings: "Instellingen"
76
       open_settings: "Instellingen"
77
       dont_want_mail: "Als je dit soort mailtjes niet meer wilt ontvangen, kun je dit uitschakelen via de volgende link:"
77
       dont_want_mail: "Als je dit soort mailtjes niet meer wilt ontvangen, kun je dit uitschakelen via de volgende link:"
78
+      cant_turn_off: "Omdat deze mail belangrijk is kan je hem niet uitzetten."
78
       ending:
79
       ending:
79
         - "Met griendelijke vroet,"
80
         - "Met griendelijke vroet,"
80
         - "Met groetelijke doei,"
81
         - "Met groetelijke doei,"