X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fvalider.tpl;h=df42a752f1f4bf8d29e2ae0c7a912816a4f4345d;hb=7b642046b0dbaf122f12beeb565879f3b3dd8171;hp=7f0728d85869b3033eb62152b1ba36deab5d3d07;hpb=e8599c21fcbd18beb8551368450174f35774794a;p=platal.git diff --git a/templates/admin/valider.tpl b/templates/admin/valider.tpl index 7f0728d..df42a75 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,47 +15,103 @@ {* *} {* 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 *} {* *} {**************************************************************************} + +

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]}
- + + + + + {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 : - + {$valid->prenom} {$valid->nom} (X{$valid->promo})
Date de demande : + {$valid->stamp|date_format} +
Commentaires
+ {if $preview_id neq $valid->id()} +
+ {icon name="add"} +
+ {/if} + Éditer +
+
+ {xsrf_token_field} +
+ {include file=$valid->editor()} + + + +
+ +
+
+
+ {if $valid->comments|@count eq 0} +
+ {icon name="add"} +
+ {/if} + Commentaires +
- {$c[0]} + {$c[0]} {$c[1]}{$c[1]|nl2br}
-
+ + {xsrf_token_field}
+
@@ -63,12 +119,32 @@
Réponse
rules}> -
+
+ {if $preview_id neq $valid->id()} +
+ {icon name="null"} +
+ {/if} + Réponse +
ruleText()}> + + {xsrf_token_field}
- Ajouté dans l'email :
+ Réponse préremplie : + + {icon name="page_edit" title="Éditer les réponses automatiques"} +
+
+ Ajouté dans l'email :

@@ -82,13 +158,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: *}