{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2008 Polytechnique.org *}
+{* Copyright (C) 2003-2011 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* *}
{**************************************************************************}
-<h1>{$asso.nom} : Validation des inscriptions</h1>
+<h1>{$asso->nom} : validation des inscriptions</h1>
<script type="text/javascript">//<![CDATA[
{literal}
} else {
boxes.removeAttr("checked");
}
- return true;
}
{/literal}
//]]></script>
+{if $valid->total() > 0}
<form action="{$platal->ns}subscribe/valid" method="post">
<table class="tinybicol">
<tr>
- <th><a href="javascript:toggleSelection()">{icon name="arrow_refresh" title="Inverser la sélection"}</a></th>
- <th>Prénom Nom</th>
+ <th><a href="javascript:toggleSelection()">{icon name="arrow_refresh" title="Inverser la sélection"}</a></th>
+ <th>Prénom Nom (Promotion)</th>
<th>Date de demande</th>
<th></th>
</tr>
{iterate from=$valid item=user}
<tr>
<td><input type="checkbox" name="subs[{$user.hruid}]" value="1" class="select_sub" /></td>
- <td><a href="profile/{$user.hruid}" class="popup2">{$user.prenom} {$user.nom} (X{$user.promo})</a></td>
+ <td>{profile user=$user.uid promo=true}</td>
<td>{$user.date|date_format}</td>
<td><a href="{$platal->ns}subscribe/{$user.hruid}">{icon name=magnifier title="Détails"}</a></td>
</tr>
Pour refuser une demande, tu dois aller consulter les détails et remplir la raison du refus.
</div>
</form>
+{else}
+<p>
+ Il n'y a pas d'inscription à valider.
+</p>
+{/if}
+
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}