{#/********************************************************************************* * This file is part of Myddleware. * @package Myddleware * @copyright Copyright (C) 2013 - 2015 Stéphane Faure - CRMconsult EURL * @copyright Copyright (C) 2015 - 2016 Stéphane Faure - Myddleware ltd - contact@myddleware.com * @link http://www.myddleware.com This file is part of Myddleware. Myddleware is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Myddleware is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Myddleware. If not, see . *********************************************************************************/ #} {% extends 'base.html.twig' %} {% block title %}{{parent()}} | {{'title.task.list'|trans}}{% endblock %} {% block titlesm %}{{'title.task.list'|trans}}{% endblock titlesm %} {% block body %}
{% if nb > 0 %}

{{'list_task.total'|trans}} :

{{ nb }}

{% if entities is not empty %} {% for task in entities %} {% if task.message is not empty %} {% else %} {% endif %} {% endfor %} {% endif %}
{{'list_task.th.param'|trans}} {{'list_task.th.status'|trans}} {{'list_task.th.begin'|trans}} {{'list_task.th.end'|trans}} {{'list_task.th.open'|trans}} {{'list_task.th.close'|trans}} {{'list_task.th.cancel'|trans}} {{'list_task.th.error'|trans}} {{'list_task.th.message'|trans}}
{{ task.param }} {% if task.status|lower == 'end' %} {{ task.status }} {% else %} {{ task.status }} {% endif %} {{ task.begin|date("d/m/Y H:i:s", timezone) }} {{ task.end|date("d/m/Y H:i:s", timezone) }} {{ task.open }} {{ task.close }} {{ task.cancel }} {{ task.error }} {{ task.message|sensor }}
{{'list_task.th.id'|trans}} {{'list_task.th.status'|trans}} {{'list_task.th.begin'|trans}} {{'list_task.th.end'|trans}} {{'list_task.th.open'|trans}} {{'list_task.th.close'|trans}} {{'list_task.th.cancel'|trans}} {{'list_task.th.error'|trans}} {{'list_task.th.message'|trans}}
{% if pager.haveToPaginate %} {{ pagerfanta(pager, 'twitter_bootstrap4', {'routeName': 'task_list_page'}) }} {% endif %}
{% else %}

{{ 'list_task.empty'|trans }}

{% endif %}
{# ------------- PARAMETRES JQUERY ------------- #} {# ------------- PARAMETRES JQUERY ------------- #} {% endblock %} {% block cssin %}{% endblock cssin %} {% block js %} {% endblock js %}