Adds 'last activity' information in the dead-but-still-alive table.
[platal.git] / templates / admin / dead_but_active.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2008 Polytechnique.org                             *}
4 {*  http://opensource.polytechnique.org/                                  *}
5 {*                                                                        *}
6 {*  This program is free software; you can redistribute it and/or modify  *}
7 {*  it under the terms of the GNU General Public License as published by  *}
8 {*  the Free Software Foundation; either version 2 of the License, or     *}
9 {*  (at your option) any later version.                                   *}
10 {*                                                                        *}
11 {*  This program is distributed in the hope that it will be useful,       *}
12 {*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *}
13 {*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *}
14 {*  GNU General Public License for more details.                          *}
15 {*                                                                        *}
16 {*  You should have received a copy of the GNU General Public License     *}
17 {*  along with this program; if not, write to the Free Software           *}
18 {*  Foundation, Inc.,                                                     *}
19 {*  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *}
20 {*                                                                        *}
21 {**************************************************************************}
22
23 <h1>Décédés encore actifs</h1>
24
25 <p>
26   Liste des polytechniciens décédés, mais dont le compte est encore actif
27   (veufs/veuves, ...).
28 </p>
29
30 <table class="bicol">
31   <tr>
32     <th>Promo</th>
33     <th colspan="2">État civil</th>
34     <th>Décès</th>
35     <th>Dernière activité</th>
36   </tr>
37   {iterate from=$dead item=d}
38   <tr class="{cycle values="impair,pair"}">
39     <td style="text-align: center">{$d.promo}</td>
40     <td>
41       <a href="profile/{$d.alias}" class="popup2">{icon name=user_suit title='Afficher la fiche'}</a>
42       <a href="http://www.polytechniciens.com/?page=AX_FICHE_ANCIEN&amp;anc_id={$d.matricule_ax}">{*
43         *}{icon name=user_gray title="fiche AX"}</a>
44       <a href="admin/user/{$d.alias}">{icon name=wrench title='Administrer user'}</a>
45     </td>
46     <td>{$d.prenom} {$d.nom}</td>
47     <td style="text-align: center">{$d.deces}</td>
48     <td style="text-align: center">
49       {if $d.last gt $d.deces}<strong>{$d.last}</strong>{elseif $d.last}{$d.last}{else}-{/if}
50     </td>
51   </tr>
52   {/iterate}
53 </table>
54
55 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}