Add a SIREN field to profile_jobs_enum.
[platal.git] / templates / marketing / this_week.tpl
index 659c355..da03dfc 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2014 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -24,7 +24,7 @@
 <h1>Inscrits des 7 derniers jours</h1>
 
 <p>
-{$ins->total()} Polytechniciens se sont inscrits ces 7 derniers jours&nbsp;!
+{$users|@count} Polytechniciens se sont inscrits ces 7 derniers jours&nbsp;!
 </p>
 
 <div class="right">
     <th>Promo</th>
     <th>Nom</th>
   </tr>
-{iterate item=in from=$ins}
+{foreach item=user from=$users}
   <tr class="{cycle values="impair,pair"}">
-    <td class="center">{$in.date_ins|date_format:"%x %X"}</td>
+    <td class="center">{$user->registration_date|date_format:"%x %X"}</td>
     <td class="center">
-      <a href="marketing/promo/{$in.promo}">{$in.promo}</a>
+      <a href="marketing/promo/{$user->promo()}">{$user->promo()}</a>
     </td>
     <td>
-      <a href="profile/{$in.forlife}" class="popup2">
-        {$in.nom} {$in.prenom}</a>
+      {profile user=$user}
     </td>
   </tr>
-{/iterate}
+{/foreach}
 </table>
 
 <div class="right">
@@ -58,4 +57,4 @@
 </div>
 
 
-{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
+{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}