Fixes text on mentor profile.
authorStéphane Jacob <sj@m4x.org>
Mon, 7 Mar 2011 00:35:41 +0000 (01:35 +0100)
committerStéphane Jacob <sj@m4x.org>
Mon, 7 Mar 2011 00:49:19 +0000 (01:49 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
templates/profile/fiche_referent.tpl

index 18313db..0fe683d 100644 (file)
   </div>
   <div class="spacer"></div>
 
-  {if $profile->expertise != '' || $terms|count || $countries|count }
+  {if $profile->mentor_expertise != '' || $terms|count || $countries|count }
   <div id="part">
     <h2>Informations de référent&nbsp;:</h2>
-    {if $profile->expertise}
+    {if $profile->mentor_expertise}
     <div class="rubrique_referent">
       <em>Expertise&nbsp;: </em><br />
-      <span>{$profile->expertise|nl2br}</span>
+      <span>{$profile->mentor_expertise|nl2br}</span>
     </div>
     {/if}
     {if $terms|count}