X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Ffiche_referent.tpl;h=a5435102413c726eb1edf0893a707b1aacf5acb5;hb=28c20b86be8b40cecba0d83080879f81c49e07ad;hp=6178c733433e60f49fe72421730f9a10672333b2;hpb=43b816c7ed20f3b1dbb5c8b6971d8582016a7a86;p=platal.git diff --git a/templates/profile/fiche_referent.tpl b/templates/profile/fiche_referent.tpl index 6178c73..a543510 100644 --- a/templates/profile/fiche_referent.tpl +++ b/templates/profile/fiche_referent.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -21,23 +21,25 @@ {**************************************************************************} {javascript name=ajax} +{assign var=sectors value=$profile->getMentoringSectors()} +{assign var=countries value=$profile->getMentoringCountries()}
- {$user->fullName()}
- {$user->promo()} -  {$user->bestEmail()} + {$profile->fullName()}
+ {$profile->promo()} -  {$profile->displayEmail()}
- {if $expertise != '' || $sectors|count || $pays|count } + {if $profile->expertise != '' || $sectors|count || $countries|count }

Informations de référent :

- {if $expertise} + {if $profile->expertise}
Expertise :
- {$expertise|nl2br} + {$profile->expertise|nl2br}
{/if} {if $sectors|count} @@ -45,12 +47,12 @@ Secteurs :
    {foreach from=$sectors item="sector" key="i"} -
  • {$sector}{if $subSector.$i != ''} ({$subSector.$i}){/if}
  • +
  • {$sector.sector}{if $sector.subsector != ''} ({$sector.subsector}){/if}
  • {/foreach}
{/if} - {if $pays|count} + {if $countries|count}
Pays :
    @@ -64,20 +66,22 @@
{/if} + {assign var=jobs value=$profile->getJobs(2)}
- {foreach from=$adr_pro item="address" key="i"} -

{$address.entreprise}

- {include file="include/emploi.tpl" address=$address} - {include file="geoloc/address.tpl" address=$address titre="Adresse : " for=$address.entreprise} - -
 
- {/foreach} + {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} +
 
+ {/foreach}
- {if $cv} + {if $profile->cv}

Curriculum Vitae :

-
{$cv|smarty:nodefaults}
+
{$profile->cv|smarty:nodefaults}
{/if}