Gets rid of <h1> tags in the mails we send (Closes #988).
authorStéphane Jacob <sj@m4x.org>
Thu, 29 Oct 2009 22:27:48 +0000 (23:27 +0100)
committerStéphane Jacob <sj@m4x.org>
Thu, 29 Oct 2009 22:27:48 +0000 (23:27 +0100)
ChangeLog
templates/carnet/notif.mail.tpl
templates/lists/moderate_mail.tpl

index 1320da8..0f0d0f7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -23,6 +23,9 @@ Bug/Wish:
     * Lists:
         - #978: An email address has to be valid to be added to a ML       -JAC
 
+    * Mail:
+        - #988: Gets rid of <h1> tags in the mails we send                 -JAC
+
     * Newsletter:
         - #986: Improves the nl edition page                               -JAC
 
index 828a87c..3352c21 100644 (file)
@@ -35,17 +35,17 @@ Tu trouveras les mêmes informations sur [[https://www.polytechnique.org/carnet/
 
 {foreach from=$u.data key=cid item=d}
 
-!{if $d|@count eq 1}{if $d[0].sexe}{$cats[$cid].mail_sg_xette}{else}{$cats[$cid].mail_sg}{/if}{else}{$cats[$cid].mail}{/if} :
+'''{if $d|@count eq 1}{if $d[0].sexe}{$cats[$cid].mail_sg_xette}{else}{$cats[$cid].mail_sg}{/if}{else}{$cats[$cid].mail}{/if} :'''
 
 {foreach from=$d item=x}
 * (X{$x.promo}), le {$x.date|date_format:"%d %B %Y"}, [[https://www.polytechnique.org/profile/private/{$x.bestalias}|{$x.prenom} {$x.nom}]]
 {/foreach}
 
 {/foreach}
---
+-- \\
 L'Équipe de Polytechnique.org
 
-'''''Note :'''''  Tu reçois cet email car tu as activé la notification automatique par email des événements que tu surveilles.\\
+''Note :''  Tu reçois cet email car tu as activé la notification automatique par email des événements que tu surveilles.\\
 Tu peux changer cette option sur la [[https://www.polytechnique.org/carnet/notifs|page de configuration des notifications]].
 
 {/if}
index ac605a8..95d021d 100644 (file)
@@ -22,9 +22,7 @@
 
 {include file="lists/header_listes.tpl"}
 
-<h1>
-  Contenu de l'email en attente
-</h1>
+<strong>Contenu de l'email en attente</strong>
 
 {$banana|smarty:nodefaults}