{#/********************************************************************************* * 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 . *********************************************************************************/ #} {% block body %}
{{ 'view_rule.action.exec_rule' | trans }} {{ 'Run the rule by id' }}
{{ 'view_rule.action.displayflux' | trans }} {% if is_granted('ROLE_SUPER_ADMIN') %} {{ 'list_flux.btn.cancel' | trans }} {{ 'list_flux.btn.delete' | trans }} {% endif %}
{# TABLE RULE #}
{% if rule.getReadJobLock is not empty %} {% endif %} {% if params_suite.bidirectional is defined and params_suite.bidirectional is not empty %} {% endif %} {% if duplicate_target is defined and duplicate_target is not empty %} {% endif %} {% if params_suite.customParams is defined and params_suite.customParams is not empty %} {% for r in params_suite.customParams %} {% if r.name != 'description' %} {% endif %} {% endfor %} {% endif %} {% set descriptionValue = '' %} {% for p in rule.params %} {% if p.name == 'description' %} {% set descriptionValue = p.value %} {% endif %} {% endfor %}
{{ 'view_rule.infos.active' | trans }}
{{ 'view_rule.infos.id' | trans }} {{ rule.GetId }}
{{ 'view_rule.infos.name' | trans }} {{ rule.GetName }}
{{ 'view_rule.infos.datecreated' | trans }} {{ rule.GetDateCreated | date(app.user.dateFormat ~ " H:i:s", app.user.timezone) }}
{{ 'view_rule.infos.datemodified' | trans }} {{ rule.GetDateModified | date(app.user.dateFormat ~ " H:i:s", app.user.timezone) }}
{{ 'view_rule.infos.mode' | trans }} {{ params_suite.mode }}
{{ 'view_rule.infos.read_job_lock' | trans }} - {{rule.readJobLock}}
{{ 'view_rule.infos.bidirectional' | trans }} {{ params_suite.bidirectionalName }}
{{ 'view_rule.infos.duplicate_fields' | trans }} {{ duplicate_target }}
{{ r.name }} {{ r.value }}
{{ 'solution.params.description' | trans }}
{% if descriptionValue is not empty %} {{ descriptionValue|nl2br }} {% endif %}
Read all description
{# TABLE CONNECTOR #}
{{ 'view_rule.title.connector' | trans }}
{{ connector.solution_source }} {{ connector.solution_target }}
{{ 'view_rule.title.source' | trans }} {{ 'view_rule.title.target' | trans }}
{{ connector.lbl_source }} {{ connector.lbl_target }}
{{ 'view_rule.connector.module' | trans }} {{ 'view_rule.connector.module' | trans }}
{{ rule.getModuleSource }} {{ rule.getModuleTarget }}
{# TABLE VARIABLE #}
{% if variables is defined and variables|length > 0 %} {% for variable in variables %} {% endfor %} {% else %} {% endif %}
{{ 'view_rule.infos.variables' | trans }}
{{ variable.name }} {{ variable.value }}
No variable
{# TABLE WORKFLOW #}
{% if hasWorkflows %} {% endif %} {% if hasWorkflows %} {% set sorted_workflows = workflows|sort((a, b) => b.order <=> a.order) %} {% for workflow in sorted_workflows %} {% endfor %} {% else %} {% endif %}
{{ 'view_rule.infos.workflows' | trans }}
{{ 'view_rule.infos.name' | trans }} {{ 'view_rule.infos.order' | trans }} {{ 'view_rule.infos.status' | trans }}
{{ workflow.name }} {{ workflow.order }}
No workflow
{{ 'view_rule.infos.workflow_create' | trans }}

{{ 'help.title' | trans }}

{{ 'help.viewrule.info' | trans | raw }}

{% block javascripts %} {{ encore_entry_script_tags('fiche') }} {% endblock %} {% endblock %}