Browse Source

Evolution #596: Serveur mail: propre: ajout d'un footer avec adresses de contacts etc

Sevajol Bastien 11 years ago
parent
commit
723939c012

+ 1 - 0
app/Resources/FOSUserBundle/views/Resetting/email.txt.twig View File

@@ -6,5 +6,6 @@
6 6
       '%url%'      : confirmationUrl,
7 7
       '%username%' : user.username
8 8
     }, 'text') }}
9
+    {{ 'mail.general.footer'|trans({}, 'text') }}
9 10
   {% endautoescape %}
10 11
 {% endblock %}

+ 13 - 0
app/Resources/translations/text.fr.yml View File

@@ -19,6 +19,19 @@ about:
19 19
                   sur ce même réseau.
20 20
 
21 21
 mail:
22
+  general:
23
+    footer:       >
24
+                  
25
+                  
26
+                  --------------------------------
27
+                  
28
+                  Pour nous contacter: contact@muzi.ch
29
+                  
30
+                  Pour demander à ne plus jamais être contacté par email: unsubscribe@muzi.ch
31
+                  
32
+                  Muzi.ch - Découvrez et partagez vos découvertes musicales !
33
+                  
34
+                  Bastien Sévajol, 12b avenue de la roche, 04310 Peyruis, FRANCE.
22 35
   resetting_password:
23 36
     subject:      Muzi.ch: Réinitialisation du mot de passe
24 37
     content:      >

+ 1 - 0
src/Muzich/IndexBundle/Resources/views/Presubscription/confirm.txt.twig View File

@@ -1,3 +1,4 @@
1 1
 {% autoescape false %}
2 2
   {{ 'mail.presubscription.text'|trans({'%url%':url}, 'text') }}
3
+  {{ 'mail.general.footer'|trans({}, 'text') }}
3 4
 {% endautoescape %}

+ 1 - 0
src/Muzich/UserBundle/Resources/views/User/resetting.email.twig View File

@@ -6,5 +6,6 @@
6 6
       '%url%'      : confirmationUrl,
7 7
       '%username%' : user.username
8 8
     }, 'text') }}
9
+    {{ 'mail.general.footer'|trans({}, 'text') }}
9 10
   {% endautoescape %}
10 11
 {% endblock %}