Add a SIREN field to profile_jobs_enum.
[platal.git] / templates / marketing / relance.tpl
index 1b66805..7ecacc5 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2007 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2014 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 {/foreach}
 
 <form action="marketing/relance" method="post">
-  <table class="bicol" summary="liste des inscriptions non confirmées">
+  {xsrf_token_field}
+  <table class="bicol" summary="liste des inscriptions non confirmées">
     <tr>
       <th>Date</th>
-      <th>Promo</th> 
       <th>Nom</th>
-      <th>Dernière relance</th>
+      <th>Dernière relance</th>
       <th>&nbsp;</th>
     </tr>
     {iterate from=$relance item=it}
     <tr class="{cycle values="pair,impair"}">
       <td class="center">{$it.date}</td>
-      <td class="center">{$it.promo}</td>
-      <td>{$it.nom} {$it.prenom}</td>
+      <td>{profile user=$it.uid promo=true}</td>
       <td class="center">
         {if $it.relance eq "0000-00-00"}Jamais{else}{$it.relance}{/if}
       </td>
   </table>
 
   <p>
-  {$relance->total()} Polytechniciens n'ont pas effectué jusqu'au bout leur inscription.
+  {$relance->total()} Polytechniciens n'ont pas effectué jusqu'au bout leur inscription.
   </p>
   <div class="center">
     <input type="submit" name="relancer" value="Relancer" />
   </div>
 </form>
 
-{* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}