X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fdead_but_active.tpl;h=bd95d3d2d860c051db9712837d4e6afae29e86d9;hb=40965e32a0fbc13ce29e40e994d4d3945b5f9672;hp=cb3813cac6567f76b1fe57509f2dbabcf7d3d403;hpb=1c48c2a9ad4d2e01e126c43fa97f5282f2a800f5;p=platal.git diff --git a/templates/admin/dead_but_active.tpl b/templates/admin/dead_but_active.tpl index cb3813c..bd95d3d 100644 --- a/templates/admin/dead_but_active.tpl +++ b/templates/admin/dead_but_active.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 *} @@ -24,35 +24,28 @@

Liste des polytechniciens décédés, mais dont le compte est encore actif - (veufs/veuves, ...). + (veufs/veuves…).

- + - - + + {iterate from=$dead item=d} - - + + {/iterate}
PromotionPromo État civilDate de décèsdepuisDécèsDernière activité
{$d.promo} - {icon name=user_suit title='Afficher la fiche'} - {* - *}{icon name=user_gray title="fiche AX"} - {icon name=wrench title='Administrer user'} + {icon name=user_suit title='Afficher la fiche'} + {icon name=user_gray title="fiche AX"} + {icon name=wrench title='Administrer user'} {$d.prenom} {$d.nom}{$d.deces}{$d.directory_name}{$d.deathdate} - {if $d.days gt 730} - {$d.days/365|string_format:"%d"} ans - {elseif $d.days gt 365} - 1 an - {else} - {$d.days/30.5|string_format:"%d"} mois - {/if} + {if $d.last gt $d.deathdate}{$d.last}{elseif $d.last}{$d.last}{else}-{/if}