X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fvalider.tpl;h=b75bec175a5f3911756e2b09b0e96f944d39547b;hb=5c6e38d70bb599598a0eadecf3606fe531a5ecf8;hp=7b1c48d806568e50c224c87c7761760fa32ae3e3;hpb=0337d704b62718d7c77106c0e4c4e26fb02beacf;p=platal.git
diff --git a/templates/admin/valider.tpl b/templates/admin/valider.tpl
index 7b1c48d..b75bec1 100644
--- a/templates/admin/valider.tpl
+++ b/templates/admin/valider.tpl
@@ -1,6 +1,6 @@
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2004 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[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 : +
+ +