X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fadmin%2Fvalider.tpl;h=5cfc7955218a93b52a31fd3a1b0868ece110cc49;hb=e4ecada44147bebc922da00e72324e7e9622a247;hp=5701f1d4476ca4d4cd90765b155d5c219061a1f9;hpb=08fa70684fd1332178cddb6b318151335fb4506c;p=platal.git diff --git a/templates/admin/valider.tpl b/templates/admin/valider.tpl index 5701f1d..5cfc795 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()} @@ -52,9 +61,18 @@ {include file=$valid->formu()} {if $valid->editor()} + + {if $preview_id neq $valid->id()} +
+ {icon name="add"} +
+ {/if} + Editer + + + id()}style="display: none"{/if} id="edit_{$valid->id()}"> - {if $preview_id == $valid->id()} -
+
{include file=$valid->editor()} @@ -64,15 +82,19 @@
- {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,7 +103,7 @@ {$c[1]|nl2br} {/foreach} - + comments|@count eq 0}style="display: none"{/if} id="comment_{$valid->id()}">