Fixes vim mode line.
[platal.git] / templates / profile / fiche_referent.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
c441aabe 3{* Copyright (C) 2003-2014 Polytechnique.org *}
0337d704 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
0c9edc89
FB
23<script type="text/javascript">
24 $($.closeOnEsc);
25</script>
26
3ac45f10 27{assign var=terms value=$profile->getMentoringTerms()}
eccb9b82 28{assign var=countries value=$profile->getMentoringCountries()}
7e0635c2
SJ
29{assign var=skills value=$profile->getSkills()}
30{assign var=languages value=$profile->getLanguages()}
0337d704 31<div id="fiche">
6261a1b5 32<div id="fiche_referent">
33 <div id="fiche_identite">
34 <div class="civilite">
eccb9b82
RB
35 <strong>{$profile->fullName()}</strong><br />
36 <span>{$profile->promo()}&nbsp;-&nbsp;</span> <a href="mailto:{$profile->displayEmail()}">{$profile->displayEmail()}</a>
6261a1b5 37 </div>
0337d704 38 </div>
6261a1b5 39 <div class="spacer"></div>
0337d704 40
7e0635c2
SJ
41 {if $skills|count || $languages|count}
42 <div class="part">
43 <h2>Compétences&nbsp;:</h2>
44 {if $skills|count}
45 <div style="float: left">
46 <em>Professionnelles&nbsp;:</em><br />
47 <ul>
48 {foreach from=$skills item="skill"}
49 <li>{$skill.text_fr} ({$skill.level})</li>
50 {/foreach}
51 </ul>
52 </div>
53 {/if}
54 {if $languages|count}
55 <div {if $skills|count}style="float: right"{/if}>
56 <em>Linguistiques&nbsp;:</em><br />
57 <ul>
58 {foreach from=$languages item="language"}
59 <li>{$language.language} ({$language.level})</li>
60 {/foreach}
61 </ul>
62 </div>
63 {/if}
64 <div class="spacer">&nbsp;</div>
65 </div>
66 {/if}
67
3b7ff43f 68 {if $profile->mentor_expertise != '' || $terms|count || $countries|count }
7e0635c2 69 <div class="part">
e8439508 70 <h2>Informations de référent&nbsp;:</h2>
3b7ff43f 71 {if $profile->mentor_expertise}
0337d704 72 <div class="rubrique_referent">
e8439508 73 <em>Expertise&nbsp;: </em><br />
3b7ff43f 74 <span>{$profile->mentor_expertise|nl2br}</span>
0337d704 75 </div>
76 {/if}
3ac45f10 77 {if $terms|count}
0337d704 78 <div class="rubrique_referent">
3ac45f10 79 <em>Mots-clefs&nbsp;:</em><br />
0337d704 80 <ul>
3ac45f10
PC
81 {foreach from=$terms item="term"}
82 <li>{$term->full_name}</li>
0337d704 83 {/foreach}
84 </ul>
85 </div>
86 {/if}
eccb9b82 87 {if $countries|count}
0337d704 88 <div class="rubrique_referent">
e8439508 89 <em>Pays&nbsp;:</em>
0337d704 90 <ul>
91 {foreach from=$pays item="pays_i"}
92 <li>{$pays_i}</li>
93 {/foreach}
94 </ul>
95 </div>
96 {/if}
97 <div class="spacer">&nbsp;</div>
98 </div>
99 {/if}
100
eccb9b82 101 {assign var=jobs value=$profile->getJobs(2)}
6261a1b5 102 <div class="part">
eccb9b82
RB
103 {foreach from=$jobs item="job"}
104 <h2>{$job->company->name}</h2>
105 {include file="include/emploi.tpl" job=$job}
fde60e9f
SJ
106 {if $job->address}
107 {include file="geoloc/address.tpl" address=$job->address titre="Adresse&nbsp;: " for=$job->company->name phones=$job->phones pos="left"}
108 {elseif $job->phones}
109 {display_phones tels=$job->phones}
eccb9b82
RB
110 {/if}
111 <div class="spacer">&nbsp;</div>
112 {/foreach}
6261a1b5 113 </div>
0337d704 114
eccb9b82 115 {if $profile->cv}
6261a1b5 116 <div class="part">
e8439508 117 <h2>Curriculum Vitae&nbsp;: </h2>
fde60e9f 118 <div style="padding: 0 2ex">{$profile->cv|miniwiki:title|smarty:nodefaults}</div>
6261a1b5 119 </div>
0337d704 120 {/if}
121
122
6261a1b5 123 <div class="spacer"></div>
124</div>
0337d704 125</div>
448c8cdc 126{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}