![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/app/bundles/CoreBundle/Resources/views/Translation/ |
{# Variables - activeEntity - translations - model - actionRoute - nameGetter (optional, default="getName") #} {%- apply spaceless -%} {%- set nameGetter = nameGetter|default('getName') -%} {%- if translations.children|length > 0 or (translations.parent and translations.parent.id is not same as activeEntity.id) -%} <!-- start: related translations list --> <ul class="list-group"> {% if translations.parent %} {{ include('@MauticCore/Translation/row.html.twig', { 'translation': translations.parent, 'translations': translations, 'actionRoute': actionRoute, 'activeEntity': activeEntity, 'model': model, 'nameGetter': nameGetter, }) }} {% endif %} {% if translations.children|length > 0 %} {% for translation in translations.children %} {{ include('@MauticCore/Translation/row.html.twig', { 'translation': translation, 'translations': translations, 'actionRoute': actionRoute, 'activeEntity': activeEntity, 'model': model, 'nameGetter': nameGetter, }) }} {% endfor %} {% endif %} </ul> <!--/ end: related translations list --> {%- endif -%} {%- endapply -%}