X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fvalider.tpl;h=3f226f3af2d175f7c89a0dec816a94172ff9518f;hb=d16e7c2909e7a02963edbe0b7f2a997757bbac28;hp=5701f1d4476ca4d4cd90765b155d5c219061a1f9;hpb=a7c29df3b9bf8f3c3b23fec0f1d2feb814cb61fe;p=platal.git diff --git a/templates/admin/valider.tpl b/templates/admin/valider.tpl index 5701f1d..3f226f3 100644 --- a/templates/admin/valider.tpl +++ b/templates/admin/valider.tpl @@ -15,13 +15,23 @@ {* *} {* 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 +62,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 +83,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 +104,7 @@ {$c[1]|nl2br} {/foreach} - + comments|@count eq 0}style="display: none"{/if} id="comment_{$valid->id()}">