{% extends "base.html.twig" %} {% block body %}

ILLUSTRATIONS

Ajouter

Liste des Illustrations
{% for illustration in illustrations %} {% endfor %}
Action Miniature Date Catégorie Nom
{% if illustration.id >=0 %} {% endif %} {% set appthumbheight=app.session.get("appthumbheight") %} {% if illustration.category.usecategoryconfig %} {% set appthumbwidth=illustration.category.appthumbwidth %} {% set appthumbheight=illustration.category.appthumbheight %} {% endif %} {% set source="thumb_"~illustration.illustration %} {% if appthumbheight!=0 %} {% set source="thumbori_"~illustration.illustration %} {% endif %} {% if appthumbheight==0 %} {% set height=90 %} {% elseif appthumbheight==1 %} {% set height=illustration.height*90/illustration.width %} {% else %} {% set height=30*90/21 %} {% endif %}
{{ illustration.submittime|date("Y-m-d H:i") }} {{ illustration.category.name }} {{ illustration.name }}
{% endblock %} {% block localjavascript %} $(document).ready(function() { $('#dataTables').DataTable({ columnDefs: [ { "targets": "no-sort", "orderable": false }, { "targets": "no-string", "type" : "num" } ], responsive: true, iDisplayLength: 100, order: [[ 2, "desc" ]] }); }); {% endblock %}