Commit | Line | Data |
---|---|---|
0337d704 | 1 | {**************************************************************************} |
2 | {* *} | |
5e1513f6 | 3 | {* Copyright (C) 2003-2011 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()} |
0337d704 | 29 | <div id="fiche"> |
6261a1b5 | 30 | <div id="fiche_referent"> |
31 | <div id="fiche_identite"> | |
32 | <div class="civilite"> | |
eccb9b82 RB |
33 | <strong>{$profile->fullName()}</strong><br /> |
34 | <span>{$profile->promo()} - </span> <a href="mailto:{$profile->displayEmail()}">{$profile->displayEmail()}</a> | |
6261a1b5 | 35 | </div> |
0337d704 | 36 | </div> |
6261a1b5 | 37 | <div class="spacer"></div> |
0337d704 | 38 | |
3ac45f10 | 39 | {if $profile->expertise != '' || $terms|count || $countries|count } |
6261a1b5 | 40 | <div id="part"> |
e8439508 | 41 | <h2>Informations de référent :</h2> |
db1b84c7 | 42 | {if $profile->expertise} |
0337d704 | 43 | <div class="rubrique_referent"> |
e8439508 | 44 | <em>Expertise : </em><br /> |
db1b84c7 | 45 | <span>{$profile->expertise|nl2br}</span> |
0337d704 | 46 | </div> |
47 | {/if} | |
3ac45f10 | 48 | {if $terms|count} |
0337d704 | 49 | <div class="rubrique_referent"> |
3ac45f10 | 50 | <em>Mots-clefs :</em><br /> |
0337d704 | 51 | <ul> |
3ac45f10 PC |
52 | {foreach from=$terms item="term"} |
53 | <li>{$term->full_name}</li> | |
0337d704 | 54 | {/foreach} |
55 | </ul> | |
56 | </div> | |
57 | {/if} | |
eccb9b82 | 58 | {if $countries|count} |
0337d704 | 59 | <div class="rubrique_referent"> |
e8439508 | 60 | <em>Pays :</em> |
0337d704 | 61 | <ul> |
62 | {foreach from=$pays item="pays_i"} | |
63 | <li>{$pays_i}</li> | |
64 | {/foreach} | |
65 | </ul> | |
66 | </div> | |
67 | {/if} | |
68 | <div class="spacer"> </div> | |
69 | </div> | |
70 | {/if} | |
71 | ||
eccb9b82 | 72 | {assign var=jobs value=$profile->getJobs(2)} |
6261a1b5 | 73 | <div class="part"> |
eccb9b82 RB |
74 | {foreach from=$jobs item="job"} |
75 | <h2>{$job->company->name}</h2> | |
76 | {include file="include/emploi.tpl" job=$job} | |
fde60e9f SJ |
77 | {if $job->address} |
78 | {include file="geoloc/address.tpl" address=$job->address titre="Adresse : " for=$job->company->name phones=$job->phones pos="left"} | |
79 | {elseif $job->phones} | |
80 | {display_phones tels=$job->phones} | |
eccb9b82 RB |
81 | {/if} |
82 | <div class="spacer"> </div> | |
83 | {/foreach} | |
6261a1b5 | 84 | </div> |
0337d704 | 85 | |
eccb9b82 | 86 | {if $profile->cv} |
6261a1b5 | 87 | <div class="part"> |
e8439508 | 88 | <h2>Curriculum Vitae : </h2> |
fde60e9f | 89 | <div style="padding: 0 2ex">{$profile->cv|miniwiki:title|smarty:nodefaults}</div> |
6261a1b5 | 90 | </div> |
0337d704 | 91 | {/if} |
92 | ||
93 | ||
6261a1b5 | 94 | <div class="spacer"></div> |
95 | </div> | |
0337d704 | 96 | </div> |
a7de4ef7 | 97 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |