From bec31a9ae807896a70630e9db01e4647065e7d9e Mon Sep 17 00:00:00 2001 From: Thomas Minvielle Date: Sun, 11 Sep 2011 11:15:32 +0200 Subject: [PATCH] Notification mail from carnet does not include dead contacts. Syntax to be checked. --- templates/carnet/notif.mail.tpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/carnet/notif.mail.tpl b/templates/carnet/notif.mail.tpl index df21a2d..20a100c 100644 --- a/templates/carnet/notif.mail.tpl +++ b/templates/carnet/notif.mail.tpl @@ -37,8 +37,10 @@ Tu trouveras les mêmes informations sur [[https://www.polytechnique.org/carnet/ {$cat.title} : {foreach from=$cat.users item=user} +{if not isset($user->death())} {assign var=profile value=$user->profile()} * Le {$cat.operation->getDate($user)|date_format:"%d %B %Y"}, [[https://www.polytechnique.org/profile/private/{$profile->hrid()}|{$profile->fullname(true)}]] +{/if} {/foreach} {/foreach} -- 2.1.4