projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'xorg/master' into xorg/f/geocoding
[platal.git]
/
templates
/
xnetgrp
/
subscribe-valid.tpl
diff --git
a/templates/xnetgrp/subscribe-valid.tpl
b/templates/xnetgrp/subscribe-valid.tpl
index
51348c9
..
0372333
100644
(file)
--- a/
templates/xnetgrp/subscribe-valid.tpl
+++ b/
templates/xnetgrp/subscribe-valid.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
09
Polytechnique.org *}
+{* Copyright (C) 2003-20
11
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@
-20,7
+20,7
@@
{* *}
{**************************************************************************}
{* *}
{**************************************************************************}
-<h1>{$asso
.nom} : V
alidation des inscriptions</h1>
+<h1>{$asso
->nom} : v
alidation des inscriptions</h1>
<script type="text/javascript">//<![CDATA[
{literal}
<script type="text/javascript">//<![CDATA[
{literal}
@@
-34,23
+34,23
@@
} else {
boxes.removeAttr("checked");
}
} else {
boxes.removeAttr("checked");
}
- return true;
}
{/literal}
//]]></script>
}
{/literal}
//]]></script>
+{if $valid->total() > 0}
<form action="{$platal->ns}subscribe/valid" method="post">
<table class="tinybicol">
<tr>
<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>
<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>
<td>{$user.date|date_format}</td>
<td><a href="{$platal->ns}subscribe/{$user.hruid}">{icon name=magnifier title="Détails"}</a></td>
</tr>
@@
-67,4
+67,10
@@
Pour refuser une demande, tu dois aller consulter les détails et remplir la raison du refus.
</div>
</form>
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: *}
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}