X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Ffiche_referent.tpl;h=de620ffb897fef7e758b20e20c3cee178735f9e6;hb=1eddb8dcd2185df6d81f04392063c45a298661b4;hp=737332c4ec1d88abe03aaa61482e90a5d0f17b5b;hpb=905cda00459649fa751c2ea292e079f5f05cae81;p=platal.git diff --git a/templates/profile/fiche_referent.tpl b/templates/profile/fiche_referent.tpl index 737332c..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,8 +20,14 @@ {* *} {**************************************************************************} + + {assign var=terms value=$profile->getMentoringTerms()} {assign var=countries value=$profile->getMentoringCountries()} +{assign var=skills value=$profile->getSkills()} +{assign var=languages value=$profile->getLanguages()}
@@ -32,13 +38,40 @@
- {if $profile->expertise != '' || $terms|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 $terms|count} @@ -90,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: *}