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,6 +29,4 @@
29 29
 %hr
30 30
 %footer
31 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,5 +22,4 @@
22 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,6 +71,7 @@ en:
71 71
       open_activity: "Open activity"
72 72
       open_settings: "Preferences"
73 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 75
       ending:
75 76
         - "Cheers,"
76 77
       attendance_reminder:

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

@@ -75,6 +75,7 @@ nl:
75 75
       open_activity: "Activiteit openen"
76 76
       open_settings: "Instellingen"
77 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 79
       ending:
79 80
         - "Met griendelijke vroet,"
80 81
         - "Met groetelijke doei,"