X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fvalider.tpl;h=b75bec175a5f3911756e2b09b0e96f944d39547b;hb=5c6e38d70bb599598a0eadecf3606fe531a5ecf8;hp=92cbe95b279ba81834338908addd9811439d28d9;hpb=7b2413f614dc4deafd18501ba3cbe8db398c05e3;p=platal.git
diff --git a/templates/admin/valider.tpl b/templates/admin/valider.tpl
index 92cbe95..b75bec1 100644
--- a/templates/admin/valider.tpl
+++ b/templates/admin/valider.tpl
@@ -1,6 +1,6 @@
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2006 Polytechnique.org *}
+{* Copyright (C) 2003-2007 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@ -25,37 +25,70 @@
{if $vit->total()}
-{iterate item=valid from=$vit|smarty:nodefaults}
+{counter print=false start=0 assign=hidden}
+
+{iterate item=valid from=$vit}
+{assign var=type value=$valid->type}
+{if !$hide_requests[$type]}
{$valid->type} | +{$valid->type} | ||
---|---|---|---|
Demandeur : | - {$valid->prenom} {$valid->nom} (X{$valid->promo}) + {$valid->prenom|utf8_encode} {$valid->nom|utf8_encode} (X{$valid->promo}) | ||
Date de demande : | ++ {$valid->stamp|date_format} + | +||
+ {if $preview_id == $valid->id()} + + {else} + + {icon name=page_edit}Editer cette demande avant validation + + {/if} + | +|||
Commentaires | |||
{$c[0]} | -{$c[1]} | +{$c[1]|nl2br} | |
- | |||
Réponse | |||
Réponse | |||
rules}> - |
{$hidden} validation{if $hidden > 1}s ont été masquées{else} a été masquée{/if}.
+{/if} + {else} -Rien à valider
+Rien à valider
{/if} ++ Afficher seulement les validation suivantes : +
+ +