X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fvalider.tpl;h=0d139f777b0dbdd07984391856e480d7d30ea61f;hb=5ddeb07cc787dd1dc3630a31f1528f5cc7c4d9b9;hp=93e4000326cc87c42cf46299fd39b3a9a514d8e3;hpb=e18888f4f83f8c64aa6520dfbfb3710463d6dfc2;p=platal.git diff --git a/templates/admin/valider.tpl b/templates/admin/valider.tpl index 93e4000..0d139f7 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,11 +25,15 @@ {if $vit->total()} +{counter print=false start=0 assign=hidden} + {iterate item=valid from=$vit|smarty:nodefaults} +{assign var=type value=$valid->type} +{if !$hide_requests[$type]}
- + @@ -46,22 +50,45 @@ {include file=$valid->formu()} + {if $valid->editor()} + + + + {/if} {foreach from=$valid->comments item=c} - + {/foreach} - +
{$valid->type}{$valid->type}
Demandeur :
+ {if $preview_id == $valid->id()} +
+
+ {include file=$valid->editor()} + + + +
+ +
+
+ {else} + + {icon name=page_edit}Editer cette demande avant validation + + {/if} +
Commentaires
{$c[0]} {$c[1]}{$c[1]|nl2br}
+
@@ -98,13 +125,31 @@
+{else} +{counter print=false assign=hidden} +{/if} {/iterate} +{if $hidden} +

{$hidden} validation{if $hidden > 1}s ont été masquées{else} a été masquée{/if}.

+{/if} + {else}

Rien à valider

{/if} +

+ Afficher seulement les validation suivantes : +

+ + + {foreach from=$categories item=type} +
+
+ {/foreach} +
+ {* vim:set et sw=2 sts=2 sws=2: *}