X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Ffiche_referent.tpl;h=a35e521be2059a914790914270807faf11d3a8c8;hb=3ac45f10c6b54e4db4bfeb0aeb5eef0f5ee5d1b2;hp=54fdf5dbfa533bd65b1d39d652f4e92b1700efdb;hpb=f9bebf66a51f0920e55eb6d2c60c88e2eafbc598;p=platal.git diff --git a/templates/profile/fiche_referent.tpl b/templates/profile/fiche_referent.tpl index 54fdf5d..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()}
- X{$user->promo()} -  {$user->bestEmail()} + {$profile->fullName()}
+ {$profile->promo()} -  {$profile->displayEmail()}
- {if $expertise != '' || $secteurs|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 $secteurs|count} + {if $terms|count}
- Secteurs :
+ Mots-clefs :
    - {foreach from=$secteurs item="secteur" key="i"} -
  • {$secteur}{if $ss_secteurs.$i != ''} ({$ss_secteurs.$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}