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