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