Merge branch 'xorg/1.0.2/master' into xorg/master
[platal.git] / templates / profile / fiche_referent.tpl
index 0ded2bc..922f938 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2011 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -20,8 +20,7 @@
 {*                                                                        *}
 {**************************************************************************}
 
-{javascript name=ajax}
-{assign var=sectors value=$profile->getMentoringSectors()}
+{assign var=terms value=$profile->getMentoringTerms()}
 {assign var=countries value=$profile->getMentoringCountries()}
 <div id="fiche">
 <div id="fiche_referent">
@@ -33,7 +32,7 @@
   </div>
   <div class="spacer"></div>
 
-  {if $profile->expertise != '' || $sectors|count || $countries|count }
+  {if $profile->expertise != '' || $terms|count || $countries|count }
   <div id="part">
     <h2>Informations de référent&nbsp;:</h2>
     {if $profile->expertise}
       <span>{$profile->expertise|nl2br}</span>
     </div>
     {/if}
-    {if $sectors|count}
+    {if $terms|count}
     <div class="rubrique_referent">
-      <em>Secteurs&nbsp;:</em><br />
+      <em>Mots-clefs&nbsp;:</em><br />
       <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>