Merge remote branch 'origin/platal-1.0.0' into platal-1.0.1
[platal.git] / templates / emails / lost.tpl
index 1e12c51..c9bf0cf 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2008 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 
 <h1>Perdus de vue</h1>
 
-<p>Ces {$lost_emails->total()} camarades n'ont pas ou plus d'adresse email valides</p>
+<p>Ces {$lost_emails->total()} camarades n'ont pas ou plus d'adresse email valides.</p>
 
 <table class="bicol">
   <tr>
-    <th>Utilisateur</th>
+    <th colspan="2">Utilisateur</th>
   </tr>
+  {assign var="promo" value=""}
   {iterate from=$lost_emails item="looser"}
     <tr class="{cycle values="pair,impair"}">
+      <td>{if $promo neq $looser.promo}{assign var="promo" value=$looser.promo}{$promo}{/if}</td>
       <td>
-        <a href="profile/{$looser.alias}" class="popup2">{$looser.alias}</a>
+        <a href="profile/{$looser.hruid}" class="popup2">{$looser.hruid}</a>
       </td>
+    </tr>
   {/iterate}
 </table>