Merge commit 'origin/master' into fusionax
[platal.git] / templates / include / plview.referent.tpl
index 871afaf..cb0033e 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2008 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2009 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 {**************************************************************************}
 
 <div class="contact-list" style="clear: both">
-{foreach from=$set item=p} 
-  <div class="contact"> 
-    <div class="nom"> 
+{foreach from=$set item=p}
+  <div class="contact">
+    <div class="nom">
       <span {if $p.name_tooltip}class="hinted" title="{$p.name_tooltip}"{/if}>{$p.name_display}</span>
-    </div> 
-    <div class="appli"> 
-      X{$p.promo} 
-    </div> 
-    <div class="bits" style="width: 40%;"> 
-      <span class='smaller'> 
-      <a href="profile/{$p.forlife}" class="popup2">
-        {icon name=user_suit title="Voir sa fiche"}</a> - 
-        <a href="referent/{$p.forlife}" class="popup2">Voir sa fiche référent</a>
-      </span> 
-    </div> 
-    <div class="long"> 
-     <table cellspacing="0" cellpadding="0"> 
-      <tr> 
-        <td class="lt">Expertise&nbsp;:</td> 
-        <td class="rt" colspan="2">{$p.expertise|nl2br}</td> 
-      </tr> 
-     </table> 
-    </div> 
-  </div> 
+    </div>
+    <div class="edu">
+      {$p.promo_display}
+    </div>
+    <div class="bits" style="width: 40%;">
+      <span class='smaller'>
+      <a href="profile/{$p.hruid}" class="popup2">
+        {icon name=user_suit title="Voir sa fiche"}</a> -
+        <a href="referent/{$p.hruid}" class="popup2">Voir sa fiche référent</a>
+      </span>
+    </div>
+    <div class="long">
+     <table cellspacing="0" cellpadding="0">
+      <tr>
+        <td class="lt">Expertise&nbsp;:</td>
+        <td class="rt" colspan="2">{$p.expertise|nl2br}</td>
+      </tr>
+     </table>
+    </div>
+  </div>
 {/foreach}
 </div>