Merge commit 'origin/master' into fusionax
[platal.git] / templates / fusionax / listFusion.tpl
CommitLineData
b9ad0878
PC
1{**************************************************************************}
2{* *}
3{* Copyright (C) 2003-2007 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<table class="bicol">
24 <tr>
25 <th>Ancien</th>
26 <th>Fiches</th>
27 {if $field1}
28 <th>{$namefield1}</th>
29 {/if}
30 {if $field2}
31 <th>{$namefield2}</th>
32 {/if}
33 {if $fusionAction}
34 <th>Action</th>
35 {/if}
36 </tr>
37{if $fusionList}
38{iterate from=$fusionList item=c}
39 <tr class="{cycle values="pair,impair"}">
e8591429 40 <td>{$c.display_name} (X {$c.promo})</td>
b9ad0878
PC
41 <td style="text-align:center">
42 {if $c.user_id}<a href="admin/user/{$c.user_id}" class="popup2">{icon name="user_suit" title="Administrer utilisateur"}</a>{/if}
43 {if $c.id_ancien}<a href="http://www.polytechniciens.com/?page=AX_FICHE_ANCIEN&amp;anc_id={$c.id_ancien}" class="popup2">{icon name="user_gray" title="fiche AX"}</a>{/if}
44 </td>
45 {if $field1}
46 <td>{$c.$field1}</td>
47 {/if}
48 {if $field2}
49 <td>{$c.$field2}</td>
50 {/if}
51 {if $fusionAction}
b65beb64 52 <td><a class="fusion-action" href="{$fusionAction}/{$c.user_id}/{$c.id_ancien}">{$name}</a></td>
b9ad0878
PC
53 {/if}
54 </tr>
55{/iterate}
56{/if}
57</table>