X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fcarnet%2Fnotif.mail.tpl;h=24b32ce1860a1c7b1a1ab9c3601e93d0e8052101;hb=b71b2a361a1a0c89d77a0d941ff92a410147f8dc;hp=3f132e26c657cb6fbd9c9cd859d740b4fcfcb34f;hpb=08fa70684fd1332178cddb6b318151335fb4506c;p=platal.git diff --git a/templates/carnet/notif.mail.tpl b/templates/carnet/notif.mail.tpl index 3f132e2..24b32ce 100644 --- a/templates/carnet/notif.mail.tpl +++ b/templates/carnet/notif.mail.tpl @@ -35,18 +35,18 @@ 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]]. +'''''Note:''''' Tu reçois ce mail car tu as activé la notification automatique par mail 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}