merge with master
[platal.git] / templates / profile / fiche_referent.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 {javascript name=ajax}
24 <div id="fiche">
25 <div id="fiche_referent">
26   <div id="fiche_identite">
27     <div class="civilite">
28       <strong>{$prenom} {$nom}</strong><br />
29       <span>X{$promo}&nbsp;-&nbsp;</span> <a href="mailto:{$bestalias}@{#globals.mail.domain#}">{$bestalias}@{#globals.mail.domain#}</a>
30     </div>
31   </div>
32   <div class="spacer"></div>
33
34   {if $expertise != '' || $secteurs|count || $pays|count }
35   <div id="part">
36     <h2>Informations de référent&nbsp;:</h2>
37     {if $expertise}
38     <div class="rubrique_referent">
39       <em>Expertise&nbsp;: </em><br />
40       <span>{$expertise|nl2br}</span>
41     </div>
42     {/if}
43     {if $secteurs|count}
44     <div class="rubrique_referent">
45       <em>Secteurs&nbsp;:</em><br />
46       <ul>
47         {foreach from=$secteurs item="secteur" key="i"}
48         <li>{$secteur}{if $ss_secteurs.$i != ''} ({$ss_secteurs.$i}){/if}</li>
49         {/foreach}
50       </ul>
51     </div>
52     {/if}
53     {if $pays|count}
54     <div class="rubrique_referent">
55       <em>Pays&nbsp;:</em>
56       <ul>
57         {foreach from=$pays item="pays_i"}
58         <li>{$pays_i}</li>
59         {/foreach}
60       </ul>
61     </div>
62     {/if}
63     <div class="spacer">&nbsp;</div>
64   </div>
65   {/if}
66
67   <div class="part">
68     {foreach from=$adr_pro item="address" key="i"}
69     <h2>{$address.entreprise}</h2>
70     {include file="include/emploi.tpl" address=$address}
71     {include file="geoloc/address.tpl" address=$address titre="Adresse&nbsp;: " for=$address.entreprise}
72
73     <div class="spacer">&nbsp;</div>
74   {/foreach}
75   </div>
76
77   {if $cv}
78   <div class="part">
79     <h2>Curriculum Vitae&nbsp;: </h2>
80     <div style="padding: 0 2ex">{$cv|smarty:nodefaults}</div>
81   </div>
82   {/if}
83
84
85   <div class="spacer"></div>
86 </div>
87 </div>
88 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}