{#/********************************************************************************* * 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()}} | {{'list_rule.title'|trans}}{% endblock %} {% block titlesm %}{{'list_rule.title'|trans}}{% endblock titlesm %} {% block body %} {# success message if the rule has been duplicated #} {% for label, flashes in app.session.flashbag.all %} {% for flash in flashes %} {% if ( label == 'success' ) %}
{{ flash }}
{% endif %} {% endfor %} {% endfor %}
{% if nb_rule > 0 %}

{{'list_rule.total'|trans}}

{{ nb_rule }}

{% if entities is not empty %} {% for rule in entities %} {% endfor %} {% endif %}
{{'rule.source'|trans}} {{'rule.target'|trans}} {{'list_rule.th.name'|trans}} {{'list_rule.th.active'|trans}} {{'list_rule.th.date_created'|trans}} {{'list_rule.th.option'|trans}}

{{rule.solution_source }}

{{rule.lbl_source }}

{{rule.solution_target }}

{{rule.lbl_target }}
{{rule.name }}
{{rule.dateCreated|date("d/m/Y") }} {% if app.user.getUsername == 'support' %}

{{ rule.createdBy.username }}

{% endif %}
{{'rule.source'|trans}} {{'rule.target'|trans}} {{'list_rule.th.name'|trans}} {{'list_rule.th.active'|trans}} {{'list_rule.th.date_created'|trans}} {{'list_rule.th.option'|trans}}
{% if pager.haveToPaginate %} {{ pagerfanta(pager, 'twitter_bootstrap4', {'routeName': 'regle_list_page'}) }} {% endif %}
{% else %}

{{'list_rule.empty'|trans}}

{{'list_rule.create_first_rule'|trans}}
{% endif %}
{% block javascripts %} {{ encore_entry_script_tags('rulelist') }} {% endblock %} {% endblock %}