{% extends 'base.html.twig' %} {% block title %}{{ 'admin.translations.table_title'|trans({'%table%': table}) }}{% endblock %} {% block sidebar %} {% endblock %} {% block body %}

{{ 'admin.translations.table_title'|trans({'%table%': table}) }}

{{ 'admin.translations.back_btn'|trans }}
{{ 'admin.translations.items_list'|trans }}
{% for field in fields %} {% endfor %} {% for item in items %} {% for field in fields %} {% endfor %} {% else %} {% endfor %}
ID{{ field }}{{ 'admin.translations.actions'|trans }}
{{ item.id }} {% if attribute(item, field) is defined and attribute(item, field) is not null %} {% if attribute(item, field)|length > 50 %} {{ attribute(item, field)|slice(0, 50) }}... {% else %} {{ attribute(item, field) }} {% endif %} {% else %} - {% endif %}
{{ 'admin.translations.no_items'|trans }}
{% endblock %}