{#/********************************************************************************* * 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 . *********************************************************************************/ #}
{% if fields %} {% for c, f in fields|sort((a, b) => a.getTarget <=> b.getTarget) %}

{{ f.getTarget }}

{{ f.getSource }}

{% if f.getFormula %}

{{ 'view_rule.mapping.formula'|trans }} : {{ f.getFormula|slice(0, 10) }}{% if f.getFormula|length > 10 %}...{% endif %} {% if f.getFormula|length > 10 %} {{ f.getFormula }} {% endif %}

{% else %}

{{ 'view_rule.mapping.formula_empty'|trans }}

{% endif %}

{{ 'view_rule.mapping.comment'| trans }}

{% if f.getComment is not empty %}
{{ f.getComment }}
{% endif %}
{% endfor %}
{% else %}
{{'help.view_rule.mapping.empty'|trans}}
{% endif %}

{{'help.title'|trans}}

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