X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fprofile%2Ffiche_referent.tpl;h=a35e521be2059a914790914270807faf11d3a8c8;hb=14aba233ad5ca4fced7d0fa015f0a1f7da6d6c49;hp=a5435102413c726eb1edf0893a707b1aacf5acb5;hpb=00ca0ad5370df5be4a0272364fb16a4385ffabfe;p=platal.git
diff --git a/templates/profile/fiche_referent.tpl b/templates/profile/fiche_referent.tpl
index a543510..a35e521 100644
--- a/templates/profile/fiche_referent.tpl
+++ b/templates/profile/fiche_referent.tpl
@@ -21,7 +21,7 @@
{**************************************************************************}
{javascript name=ajax}
-{assign var=sectors value=$profile->getMentoringSectors()}
+{assign var=terms value=$profile->getMentoringTerms()}
{assign var=countries value=$profile->getMentoringCountries()}
@@ -33,7 +33,7 @@
- {if $profile->expertise != '' || $sectors|count || $countries|count }
+ {if $profile->expertise != '' || $terms|count || $countries|count }
Informations de référent :
{if $profile->expertise}
@@ -42,12 +42,12 @@
{$profile->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 +71,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 +83,7 @@
{if $profile->cv}
Curriculum Vitae :
-
{$profile->cv|smarty:nodefaults}
+
{$profile->cv|miniwiki:title|smarty:nodefaults}
{/if}