X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fvalider.tpl;h=f2cd60bc406bef565a3febf3007f30582f5c66ef;hb=b545e664faee207d101019fdd067d21bd3c2c682;hp=3e748f1bcb4e27484523258e8f9fb91f3414f5d4;hpb=cfb96867dfec2d35d7844bd0ff90c083b0184ae7;p=platal.git diff --git a/templates/admin/valider.tpl b/templates/admin/valider.tpl index 3e748f1..f2cd60b 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 *} @@ -27,13 +27,13 @@ {counter print=false start=0 assign=hidden} -{iterate item=valid from=$vit|smarty:nodefaults} +{iterate item=valid from=$vit} {assign var=type value=$valid->type} {if !$hide_requests[$type]}
- + @@ -50,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}
+
@@ -73,22 +96,22 @@
Réponse
Réponse
rules}> + ruleText()}>
- Réponse préremplie : + Réponse préremplie : - {icon name="page_edit" title="Editer les réponses automatiques"} + {icon name="page_edit" title="Editer les réponses automatiques"}
- Ajouté dans l'email :
+ Ajouté dans l'email :

@@ -108,24 +131,25 @@ {/iterate} {if $hidden} -

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

+

{$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 : - - {foreach from=$categories item=type} -

-
- {/foreach} -
-

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