X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fvalider.tpl;h=3f226f3af2d175f7c89a0dec816a94172ff9518f;hb=d16e7c2909e7a02963edbe0b7f2a997757bbac28;hp=6ad4a45542892a609807b464a72022a80c909857;hpb=4aec8eff0b765510b359b7f8af7a06183f61d74b;p=platal.git diff --git a/templates/admin/valider.tpl b/templates/admin/valider.tpl index 6ad4a45..3f226f3 100644 --- a/templates/admin/valider.tpl +++ b/templates/admin/valider.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -15,21 +15,35 @@ {* *} {* You should have received a copy of the GNU General Public License *} {* along with this program; if not, write to the Free Software *} -{* Foundation, Inc., *} + {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} +{javascript name="jquery"} + +

Validation

- + {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]}
- + @@ -46,22 +60,58 @@ {include file=$valid->formu()} - + {if $valid->editor()} + + + + id()}style="display: none"{/if} id="edit_{$valid->id()}"> + + + {/if} + + + {foreach from=$valid->comments item=c} - + {/foreach} - + comments|@count eq 0}style="display: none"{/if} id="comment_{$valid->id()}"> - + -
{$valid->type}{$valid->type}
Demandeur :
Commentaires
+ {if $preview_id neq $valid->id()} +
+ {icon name="add"} +
+ {/if} + Editer +
+
+
+ {include file=$valid->editor()} + + + +
+ +
+
+
+ {if $valid->comments|@count eq 0} +
+ {icon name="add"} +
+ {/if} + Commentaires +
{$c[0]} {$c[1]}{$c[1]|nl2br}
+
@@ -69,12 +119,22 @@
Réponse
Réponse
rules}> + ruleText()}>
- Ajouté dans l'email :
+ Réponse préremplie : + + {icon name="page_edit" title="Editer les réponses automatiques"} +
+
+ Ajouté dans l'email :

@@ -88,13 +148,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

+

Rien à valider

{/if} +

+ Afficher seulement les validation suivantes : +

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