X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Ffiche_referent.tpl;h=a5435102413c726eb1edf0893a707b1aacf5acb5;hb=7a7167d3f5de9a59e1b536e53de54d62d344e7b2;hp=b8ad720f1319d49b55028bf98c1dae857bdea8b6;hpb=f2c150a0b20f222ddadabe7c0a307b60cec86a54;p=platal.git diff --git a/templates/profile/fiche_referent.tpl b/templates/profile/fiche_referent.tpl index b8ad720..a543510 100644 --- a/templates/profile/fiche_referent.tpl +++ b/templates/profile/fiche_referent.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 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,36 +21,38 @@ {**************************************************************************} {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 != '' || $secteurs|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 $secteurs|count} + {if $sectors|count}
Secteurs :
    - {foreach from=$secteurs item="secteur" key="i"} -
  • {$secteur}{if $ss_secteurs.$i != ''} ({$ss_secteurs.$i}){/if}
  • + {foreach from=$sectors item="sector" key="i"} +
  • {$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}