X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Ffiche_referent.tpl;h=a35e521be2059a914790914270807faf11d3a8c8;hb=ae163e7a83670527fcc67e38b5bbc0902b7fe119;hp=6178c733433e60f49fe72421730f9a10672333b2;hpb=b032b01b8919b36ec66f8a0395132953d8c01cf2;p=platal.git diff --git a/templates/profile/fiche_referent.tpl b/templates/profile/fiche_referent.tpl index 6178c73..a35e521 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,36 +21,38 @@ {**************************************************************************} {javascript name=ajax} +{assign var=terms value=$profile->getMentoringTerms()} +{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 != '' || $terms|count || $countries|count }

Informations de référent :

- {if $expertise} + {if $profile->expertise}
Expertise :
- {$expertise|nl2br} + {$profile->expertise|nl2br}
{/if} - {if $sectors|count} + {if $terms|count}
- Secteurs :
+ Mots-clefs :
    - {foreach from=$sectors item="sector" key="i"} -
  • {$sector}{if $subSector.$i != ''} ({$subSector.$i}){/if}
  • + {foreach from=$terms item="term"} +
  • {$term->full_name}
  • {/foreach}
{/if} - {if $pays|count} + {if $countries|count}
Pays :
    @@ -64,20 +66,24 @@
{/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 phones=$job->phones pos="left"} + {elseif $job->phones} + {display_phones tels=$job->phones} + {/if} +
 
+ {/foreach}
- {if $cv} + {if $profile->cv}

Curriculum Vitae :

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