X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fvalider.tpl;h=67ad5721d2e4d702c11bdb82a29b631dc117ceb8;hb=16594a1ac8d7cbff8a51e422a6a6d9e575129d9c;hp=5701f1d4476ca4d4cd90765b155d5c219061a1f9;hpb=756ff73fbb0cdd01cce2eda27ba18e1cc99bd735;p=platal.git diff --git a/templates/admin/valider.tpl b/templates/admin/valider.tpl index 5701f1d..67ad572 100644 --- a/templates/admin/valider.tpl +++ b/templates/admin/valider.tpl @@ -15,13 +15,22 @@ {* *} {* 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()} @@ -51,28 +60,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,9 +104,10 @@ {$c[1]|nl2br} {/foreach} - + comments|@count eq 0}style="display: none"{/if} id="comment_{$valid->id()}">
+ {xsrf_token_field}
@@ -96,10 +120,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 :