X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fvalider.tpl;h=408b86e92e545678186a58e9ef1e0dee25b51c96;hb=9c1b78c7ee1575436bbf277536c4ec0671ed8344;hp=5701f1d4476ca4d4cd90765b155d5c219061a1f9;hpb=179afa7fa79902e11498314d37fe4dbf452b3617;p=platal.git diff --git a/templates/admin/valider.tpl b/templates/admin/valider.tpl index 5701f1d..408b86e 100644 --- a/templates/admin/valider.tpl +++ b/templates/admin/valider.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -15,13 +15,21 @@ {* *} {* 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()} @@ -38,8 +46,8 @@ Demandeur : - - {$valid->prenom} {$valid->nom} (X{$valid->promo}) + + {$valid->user->fullName()} (X{$valid->user->promo()}) @@ -51,28 +59,42 @@ {include file=$valid->formu()} {if $valid->editor()} - + + + {if $preview_id neq $valid->id()} +
+ {icon name="add"} +
+ {/if} + Éditer + + + id()}style="display: none"{/if} id="edit_{$valid->id()}"> - {if $preview_id == $valid->id()} -
+ + {xsrf_token_field}
{include file=$valid->editor()} - +
- +
- {else} - - {icon name=page_edit}Editer cette demande avant validation - - {/if} {/if} - Commentaires + + + {if $valid->comments|@count eq 0} +
+ {icon name="add"} +
+ {/if} + Commentaires + + {foreach from=$valid->comments item=c} @@ -81,11 +103,12 @@ {$c[1]|nl2br} {/foreach} - + comments|@count eq 0}style="display: none"{/if} id="comment_{$valid->id()}">
+ {xsrf_token_field}
- + @@ -96,10 +119,20 @@ - Réponse + + + {if $preview_id neq $valid->id()} +
+ {icon name="null"} +
+ {/if} + Réponse + + ruleText()}>
+ {xsrf_token_field}
Réponse préremplie : - {icon name="page_edit" title="Editer les réponses automatiques"} + {icon name="page_edit" title="Éditer les réponses automatiques"}
Ajouté dans l'email :

- +