From a9f490e88d481a81c7ac86e6d3158564d6b19904 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Thu, 29 Oct 2009 23:27:48 +0100 Subject: [PATCH] Gets rid of

tags in the mails we send (Closes #988). --- ChangeLog | 3 +++ templates/carnet/notif.mail.tpl | 6 +++--- templates/lists/moderate_mail.tpl | 4 +--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1320da8..0f0d0f7 100644 --- 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

tags in the mails we send -JAC + * Newsletter: - #986: Improves the nl edition page -JAC diff --git a/templates/carnet/notif.mail.tpl b/templates/carnet/notif.mail.tpl index 828a87c..3352c21 100644 --- a/templates/carnet/notif.mail.tpl +++ b/templates/carnet/notif.mail.tpl @@ -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} diff --git a/templates/lists/moderate_mail.tpl b/templates/lists/moderate_mail.tpl index ac605a8..95d021d 100644 --- a/templates/lists/moderate_mail.tpl +++ b/templates/lists/moderate_mail.tpl @@ -22,9 +22,7 @@ {include file="lists/header_listes.tpl"} -

- Contenu de l'email en attente -

+Contenu de l'email en attente {$banana|smarty:nodefaults} -- 2.1.4