Notification mail from carnet does not include dead contacts. Syntax to be checked.
authorThomas Minvielle <thomas.minvielle@polytechnique.org>
Sun, 11 Sep 2011 09:15:32 +0000 (11:15 +0200)
committerThomas Minvielle <thomas.minvielle@polytechnique.org>
Tue, 13 Sep 2011 12:13:02 +0000 (14:13 +0200)
templates/carnet/notif.mail.tpl

index df21a2d..20a100c 100644 (file)
@@ -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}