{#/********************************************************************************* * 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.flux.list'|trans}}{% endblock %} {% block titlesm %}{{'title.flux.list'|trans}}{% endblock titlesm %} {% block body %}
{% if nb > 0 %}

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

{{ nb }}

{{'list_flux.filter.rule'|trans}} {{ form_label(form.rule, 'list_flux.filter.name'|trans ) }} {{ form_widget(form.rule) }}
{% endif %} {# Les erreurs générales du formulaire. #} {{ form_errors(form) }} {#
{{'list_flux.filter.date_created'|trans}} {{ form_label(form.date_create_start, 'list_flux.start'|trans) }} {{ form_widget(form.date_create_start) }} {{ form_label(form.date_create_start, 'list_flux.end'|trans) }} {{ form_widget(form.date_create_end) }}
#}
{{'list_flux.filter.id'|trans}} {{ form_label(form.source_id, 'list_flux.filter.source_id'|trans) }} {{ form_widget(form.source_id) }} {{ form_label(form.target_id, 'list_flux.filter.target_id'|trans) }} {{ form_widget(form.target_id) }}
{{'list_flux.filter.date_modified'|trans}} {{ form_label(form.date_modif_start, 'list_flux.start'|trans) }} {{ form_widget(form.date_modif_start) }} {{ form_label(form.date_modif_end, 'list_flux.end'|trans) }} {{ form_widget(form.date_modif_end) }}
{{'list_flux.filter.status'|trans}} {{ form_label(form.status, 'list_flux.filter.status'|trans) }} {{ form_widget(form.status) }} {{ form_label(form.gblstatus, 'list_flux.filter.global_status'|trans) }} {{ form_widget(form.gblstatus) }} {{ form_widget(form.type) }}
{{'list_flux.filter.content'|trans}} {{ form_label(form.source_content, 'list_flux.filter.source_content'|trans) }} {{ form_widget(form.source_content) }} {{ form_label(form.target_content, 'list_flux.filter.target_content'|trans) }} {{ form_widget(form.target_content) }}
{# Hidden dont CSRF #} {{ form_rest(form) }}

{{ form_widget(form.click_filter) }}

{% if condition > 0 %} {{'list_flux.btn.filter_delete'|trans}} {% endif %}

{{ form_end(form) }}
{% if nb > 0 %} {% if entities is not empty %} {% for flux in entities %} {% endfor %} {% endif %}
{{'list_flux.tab.id'|trans}} {{'list_flux.tab.name'|trans}} {{'list_flux.tab.source_id'|trans}} {{'list_flux.tab.target_id'|trans}} {{'list_flux.tab.reference'|trans}} {{'list_flux.tab.date_modified'|trans}} {{'list_flux.tab.statut'|trans}} {{'list_flux.tab.type'|trans}}
{% if flux.global_status|lower == 'close' or flux.global_status|lower == 'cancel' %} {% else %} {% endif %} {{ flux.id }} {{ flux.rule_name }} {{ flux.source_id }} {{ flux.target_id }} {{ flux.source_date_modified }} {{ flux.date_modified|date("d/m/Y H:i:s") }}
{{ flux.status }} {% if flux.global_status|lower == 'close' %} {% elseif flux.global_status|lower == 'error' or flux.global_status|lower == 'open' %} {% elseif flux.global_status|lower == 'open' %} {% elseif flux.global_status|lower == 'cancel' %} {% endif %}
{{ flux.type }}
{{'list_flux.tab.id'|trans}} {{'list_flux.tab.name'|trans}} {{'list_flux.tab.source_id'|trans}} {{'list_flux.tab.target_id'|trans}} {{'list_flux.tab.reference'|trans}} {{'list_flux.tab.date_modified'|trans}} {{'list_flux.tab.statut'|trans}} {{'list_flux.tab.type'|trans}}
{% if pager.haveToPaginate %} {{ pagerfanta(pager, 'twitter_bootstrap3', {'routeName': 'flux_list_page'}) }} {% endif %}
{% else %}

{{ 'list_flux.empty'|trans }}

{% endif %}
{# ------------- PARAMETRES JQUERY ------------- #} {# ------------- PARAMETRES JQUERY ------------- #} {% endblock %} {% block css %} {% endblock css %} {% block cssin %} .myd_div_loading{ background: url("{{ asset('bundles/regle/images/loading') }}.gif") no-repeat center center; } .myd_div_loading_logo{ background: url("{{ asset('bundles/regle/images/logo/logo') }}.png") no-repeat center center; } {% endblock cssin %} {% block js %} {% endblock js %}