X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fcarnet%2Fnotif.mail.tpl;h=6ebdbb5ad85a8dd0c5c13db8fe9b8c4cde6c6b73;hb=af3b6644d6a4ccf3d4d6224f7ad09c42d811a87c;hp=3f132e26c657cb6fbd9c9cd859d740b4fcfcb34f;hpb=5f30b30e8b2657ade5c727e98de286386ee002d8;p=platal.git diff --git a/templates/carnet/notif.mail.tpl b/templates/carnet/notif.mail.tpl index 3f132e2..6ebdbb5 100644 --- a/templates/carnet/notif.mail.tpl +++ b/templates/carnet/notif.mail.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -35,18 +35,16 @@ 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}{$cats[$cid].mail_sg}{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 key=promo 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 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 ce mail ce mail car tu as activé la notification automatique par mail des événements que tu surveilles.\\ -Tu peux changer cette options sur la [[https://www.polytechnique.org/carnet/notifs|page de configuration des notifications]]. +{include file="signature.mail.tpl"} +''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}