X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fvalider.tpl;h=4d230827956af69dc8397ccfae22e79cdbc484cf;hb=a4a3af33fa3798c524804503462b04611f499e22;hp=6e3cef7323ce6c57740ae43e02c59b499b5720ec;hpb=2069538b27eb8a8c5ee4f2704fefcd3b14908735;p=platal.git diff --git a/templates/admin/valider.tpl b/templates/admin/valider.tpl index 6e3cef7..4d23082 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 *} @@ -33,7 +33,7 @@
- + @@ -50,16 +50,38 @@ {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}
@@ -74,22 +96,22 @@
Réponse
Réponse
rules}> + rules}>
- 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 :

@@ -109,12 +131,12 @@ {/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} @@ -130,4 +152,4 @@
-{* vim:set et sw=2 sts=2 sws=2: *} +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}