projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hide private fields in advanced search if the user does not have the
[platal.git]
/
templates
/
profile
/
fiche_referent.tpl
diff --git
a/templates/profile/fiche_referent.tpl
b/templates/profile/fiche_referent.tpl
index
a543510
..
a35e521
100644
(file)
--- a/
templates/profile/fiche_referent.tpl
+++ b/
templates/profile/fiche_referent.tpl
@@
-21,7
+21,7
@@
{**************************************************************************}
{javascript name=ajax}
{**************************************************************************}
{javascript name=ajax}
-{assign var=
sectors value=$profile->getMentoringSector
s()}
+{assign var=
terms value=$profile->getMentoringTerm
s()}
{assign var=countries value=$profile->getMentoringCountries()}
<div id="fiche">
<div id="fiche_referent">
{assign var=countries value=$profile->getMentoringCountries()}
<div id="fiche">
<div id="fiche_referent">
@@
-33,7
+33,7
@@
</div>
<div class="spacer"></div>
</div>
<div class="spacer"></div>
- {if $profile->expertise != '' || $
sector
s|count || $countries|count }
+ {if $profile->expertise != '' || $
term
s|count || $countries|count }
<div id="part">
<h2>Informations de référent :</h2>
{if $profile->expertise}
<div id="part">
<h2>Informations de référent :</h2>
{if $profile->expertise}
@@
-42,12
+42,12
@@
<span>{$profile->expertise|nl2br}</span>
</div>
{/if}
<span>{$profile->expertise|nl2br}</span>
</div>
{/if}
- {if $
sector
s|count}
+ {if $
term
s|count}
<div class="rubrique_referent">
<div class="rubrique_referent">
- <em>
Secteur
s :</em><br />
+ <em>
Mots-clef
s :</em><br />
<ul>
<ul>
- {foreach from=$
sectors item="sector" key="i
"}
- <li>{$
sector.sector}{if $sector.subsector != ''} ({$sector.subsector}){/if
}</li>
+ {foreach from=$
terms item="term
"}
+ <li>{$
term->full_name
}</li>
{/foreach}
</ul>
</div>
{/foreach}
</ul>
</div>
@@
-71,8
+71,10
@@
{foreach from=$jobs item="job"}
<h2>{$job->company->name}</h2>
{include file="include/emploi.tpl" job=$job}
{foreach from=$jobs item="job"}
<h2>{$job->company->name}</h2>
{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}
<div class="spacer"> </div>
{/foreach}
{/if}
<div class="spacer"> </div>
{/foreach}
@@
-81,7
+83,7
@@
{if $profile->cv}
<div class="part">
<h2>Curriculum Vitae : </h2>
{if $profile->cv}
<div class="part">
<h2>Curriculum Vitae : </h2>
- <div style="padding: 0 2ex">{$profile->cv|smarty:nodefaults}</div>
+ <div style="padding: 0 2ex">{$profile->cv|
miniwiki:title|
smarty:nodefaults}</div>
</div>
{/if}
</div>
{/if}