X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Ffiche_referent.tpl;h=de620ffb897fef7e758b20e20c3cee178735f9e6;hb=7937d89ecfc74726af9ae64d9211d53e6bbcc4e5;hp=a5435102413c726eb1edf0893a707b1aacf5acb5;hpb=db1b84c7413e8bf5784baef6eb821fd06827f3a5;p=platal.git diff --git a/templates/profile/fiche_referent.tpl b/templates/profile/fiche_referent.tpl index a543510..de620ff 100644 --- a/templates/profile/fiche_referent.tpl +++ b/templates/profile/fiche_referent.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2010 Polytechnique.org *} +{* Copyright (C) 2003-2014 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,9 +20,14 @@ {* *} {**************************************************************************} -{javascript name=ajax} -{assign var=sectors value=$profile->getMentoringSectors()} + + +{assign var=terms value=$profile->getMentoringTerms()} {assign var=countries value=$profile->getMentoringCountries()} +{assign var=skills value=$profile->getSkills()} +{assign var=languages value=$profile->getLanguages()}
@@ -33,21 +38,48 @@
- {if $profile->expertise != '' || $sectors|count || $countries|count } -
+ {if $skills|count || $languages|count} +
+

Compétences :

+ {if $skills|count} +
+ Professionnelles :
+
    + {foreach from=$skills item="skill"} +
  • {$skill.text_fr} ({$skill.level})
  • + {/foreach} +
+
+ {/if} + {if $languages|count} +
+ Linguistiques :
+
    + {foreach from=$languages item="language"} +
  • {$language.language} ({$language.level})
  • + {/foreach} +
+
+ {/if} +
 
+
+ {/if} + + {if $profile->mentor_expertise != '' || $terms|count || $countries|count } +

Informations de référent :

- {if $profile->expertise} + {if $profile->mentor_expertise}
Expertise :
- {$profile->expertise|nl2br} + {$profile->mentor_expertise|nl2br}
{/if} - {if $sectors|count} + {if $terms|count}
- Secteurs :
+ Mots-clefs :
    - {foreach from=$sectors item="sector" key="i"} -
  • {$sector.sector}{if $sector.subsector != ''} ({$sector.subsector}){/if}
  • + {foreach from=$terms item="term"} +
  • {$term->full_name}
  • {/foreach}
@@ -71,8 +103,10 @@ {foreach from=$jobs item="job"}

{$job->company->name}

{include file="include/emploi.tpl" job=$job} - {if $job->address()} - {include file="geoloc/address.tpl" address=$job->address titre="Adresse : " for=$job->company->name} + {if $job->address} + {include file="geoloc/address.tpl" address=$job->address titre="Adresse : " for=$job->company->name phones=$job->phones pos="left"} + {elseif $job->phones} + {display_phones tels=$job->phones} {/if}
 
{/foreach} @@ -81,7 +115,7 @@ {if $profile->cv}

Curriculum Vitae :

-
{$profile->cv|smarty:nodefaults}
+
{$profile->cv|miniwiki:title|smarty:nodefaults}
{/if} @@ -89,4 +123,4 @@
-{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} +{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}