Enable FX letter.
[platal.git] / templates / fusionax / names.tpl
CommitLineData
a3f12425
SJ
1{**************************************************************************}
2{* *}
5e1513f6 3{* Copyright (C) 2003-2011 Polytechnique.org *}
a3f12425
SJ
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<h2><a href="fusionax">Fusion des annuaires X.org - AX</a> / noms</h2>
24
25<p></p>
26
193affc6
SJ
27{if $action eq "first"}
28{if $firstnameIssues|@count eq 0}
29<p>Aucun problème avec les prénoms.</p>
30{else}
31<table class="bicol">
32 <tr>
33 <th>pid</th>
34 <th>ax id</th>
35 <th>hrpid</th>
36 <th colspan="4">Prénoms</th>
37 </tr>
38 <tr>
39 <th></th>
40 <th></th>
41 <th></th>
42 <th>AX</th>
43 <th>initial</th>
44 <th>principal</th>
45 <th>ordinaire</th>
46 </tr>
47{foreach from=$firstnameIssues item=profile}
48 <tr>
49 <td>{$profile.pid}</td>
50 <td>{$profile.ax_id}</td>
51 <td>{$profile.hrpid}</td>
52 <td>{$profile.prenom}</td>
53 <td>{$profile.firstname_initial}</td>
54 <td>{$profile.firstname_main}</td>
55 <td>{$profile.firstname_ordinary}</td>
56 </tr>
57{/foreach}
58</table>
59{/if}
60{elseif $action eq "last"}
61{if $lastnameIssues|@count eq 0}
62<p>Aucun problème avec les noms.</p>
63{else}
64<table class="bicol">
65 <tr>
66 <th>pid</th>
67 <th>ax id</th>
68 <th>hrpid</th>
69 <th colspan="7">Noms</th>
70 </tr>
71 <tr>
72 <th></th>
73 <th></th>
74 <th></th>
75 <th>AX patro</th>
76 <th>AX usuel</th>
77 <th>AX complet</th>
78 <th>initial</th>
79 <th>principal</th>
80 <th>marital</th>
81 <th>ordinaire</th>
82 </tr>
83{foreach from=$lastnameIssues item=profile}
84 <tr>
85 <td>{$profile.pid}</td>
86 <td>{$profile.ax_id}</td>
87 <td>{$profile.hrpid}</td>
88 <td>{$profile.Nom_patronymique}</td>
89 <td>{$profile.Nom_usuel}</td>
90 <td>{$profile.Nom_complet}</td>
91 <td>{$profile.lastname_initial}</td>
92 <td>{$profile.lastname_main}</td>
93 <td>{$profile.lastname_marital}</td>
94 <td>{$profile.lastname_ordinary}</td>
95 </tr>
96{/foreach}
97</table>
98{/if}
99
100{else}
a3f12425
SJ
101<p>
102 Il y a {$total} camarades dans l'intersection de nos bases.
a3f12425 103</p>
c8ab27eb 104<ul>
193affc6
SJ
105 <li><a href="fusionax/names/last">{$lastnameIssues} des noms de l'AX ne sont pas dans les notres.</a></li>
106 <li><a href="fusionax/names/first">{$firstnameIssues} des prénoms de l'AX ne sont pas dans les notres.</a></li>
c8ab27eb 107</ul>
193affc6 108{/if}
a3f12425
SJ
109
110{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}