Browse Source

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

Sevajol Bastien 12 years ago
parent
commit
723939c012

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

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

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

19
                   sur ce même réseau.
19
                   sur ce même réseau.
20
 
20
 
21
 mail:
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
   resetting_password:
35
   resetting_password:
23
     subject:      Muzi.ch: Réinitialisation du mot de passe
36
     subject:      Muzi.ch: Réinitialisation du mot de passe
24
     content:      >
37
     content:      >

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

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

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

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