Implements the first API handler (/api/1/user/<user>/isRegistered). It
[platal.git] / templates / marketing / volontaire.tpl
index 8e7c66e..44bd393 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2007 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -23,7 +23,7 @@
 <h1>Marketing volontaire</h1>
 
 <p>
-Choix de la promo :
+Choix de la promo&nbsp;:
 </p>
 <p>
 {foreach from=$promos item=p}
@@ -38,15 +38,15 @@ Choix de la promo :
 
 {if $addr->total()}
 <h2>Marketing volontaire</h2>
-<table class="bicol" cellpadding="3" summary="Adresses déjà utilisées">
+<table class="bicol" cellpadding="3" summary="Adresses déjà utilisées">
   <tr>
-    <th>Camarade concerné</th>
+    <th>Camarade concerné</th>
     <th>Adresse email</th>
     <th>"informateur"</th>
   </tr>
   {iterate from=$addr item=it}
   <tr class="{cycle values="pair,impair"}">
-    <td><a href="marketing/private/{$it.user_id}">{$it.nom} {$it.prenom}</a></td>
+    <td><a href="marketing/private/{$it.uid}">{profile user=$it.uid link=false promo=true}</a></td>
     <td>{$it.email}</td>
     <td>{$it.forlife}</td>
   </tr>
@@ -59,4 +59,4 @@ pas d'informations pour les gens de cette promo
 {/if}
 {/if}
 
-{* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}