From: Thomas Minvielle Date: Tue, 13 Sep 2011 12:12:36 +0000 (+0200) Subject: Mailer does not mention deceased contacts. X-Git-Tag: xorg/1.1.4~171 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=de7dc3b3da96e7866c309e400cca7e30476564db;p=platal.git Mailer does not mention deceased contacts. --- diff --git a/templates/carnet/notif.mail.tpl b/templates/carnet/notif.mail.tpl index 20a100c..22f0675 100644 --- a/templates/carnet/notif.mail.tpl +++ b/templates/carnet/notif.mail.tpl @@ -37,8 +37,8 @@ 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()} +{if !$profile->isDead()} * Le {$cat.operation->getDate($user)|date_format:"%d %B %Y"}, [[https://www.polytechnique.org/profile/private/{$profile->hrid()}|{$profile->fullname(true)}]] {/if} {/foreach}