Happy New Year!
[platal.git] / templates / marketing / promo.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
c441aabe 3{* Copyright (C) 2003-2014 Polytechnique.org *}
0337d704 4{* http://opensource.polytechnique.org/ *}
5{* *}
6{* This program is free software; you can redistribute it and/or modify *}
7{* it under the terms of the GNU General Public License as published by *}
8{* the Free Software Foundation; either version 2 of the License, or *}
9{* (at your option) any later version. *}
10{* *}
11{* This program is distributed in the hope that it will be useful, *}
12{* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13{* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14{* GNU General Public License for more details. *}
15{* *}
16{* You should have received a copy of the GNU General Public License *}
17{* along with this program; if not, write to the Free Software *}
18{* Foundation, Inc., *}
19{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
20{* *}
21{**************************************************************************}
22
7b2413f6 23<form action="marketing/promo/" method="post" onsubmit="this.action += this.promo.value">
0025a0c5 24 <div class="center">
ed92b95d 25 Promo&nbsp;:<input type="text" name="promo" value="{$promo}" size="5" maxlength="12" /><input type="submit" value="GO" />
0025a0c5 26 </div>
27</form>
0337d704 28
29<br />
30
31<div class="center">
a2fa0614 32 <a href="javascript:void(window.open('stats/promos/{$promo}','','width=800,height=600,toolbar=no'))">
a7de4ef7 33 Voir l'évolution des inscriptions de la promotion
0337d704 34 </a>
35</div>
36
0025a0c5 37<br />
38
7b2413f6 39<form action="marketing/promo" method="post">
a7de4ef7 40 <table class="bicol" summary="liste des inscriptions non confirmées">
0337d704 41 <tr>
42 <th>Nom</th>
a7de4ef7 43 <th>Dernière adresse connue</th>
0337d704 44 <th>Statut</th>
45 <th>&nbsp;</th>
46 </tr>
38c6fe96 47 {foreach from=$nonins item=it}
0337d704 48 <tr class="{cycle values="pair,impair"}">
38c6fe96
FB
49 <td>{profile user=$it}</td>
50 <td>{if $it->lastKnownEmail()}{mailto address=$it->lastKnownEmail()}{/if}</td>
0337d704 51 <td class="center">
db8432d5
SJ
52 {if $it->pendingRegistrationDate() > $it->lastMarketingDate()}
53 En cours&nbsp;: {$it->pendingRegistrationEmail()}
54 {elseif $it->lastMarketingDate() && $it->lastMarketingDate() != '0000-00-00'}
55 Relance le&nbsp;: {$it->lastMarketingDate()}
0337d704 56 {else}
57 -
58 {/if}
59 </td>
60 <td class="center">
38c6fe96
FB
61 <a href="marketing/private/{$it->id()}">{icon name=wrench title="Marketing"}</a>
62 <a href="profile/ax/{$it->login()}">{icon name=user_gray title="fiche AX"}</a>
0337d704 63 </td>
64 </tr>
38c6fe96 65 {/foreach}
0337d704 66 </table>
67</form>
68
69<p>
e46cf8c4 70{$nonins|@count} Polytechniciens de la promo {$promo} ne sont pas inscrits&nbsp;!
0337d704 71</p>
72
73
a7de4ef7 74{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}