+ {% component 'Card' with {title: entry.title, configUrl: loop.first ? configUrl : null} %}
+ {% block content %}
+ {% if entry.table.body is iterable and entry.table.body|length %}
+
+
+
+
+ {% for column in entry.table.header %}
+ | {{ column.title }} |
+ {% endfor %}
+
+
+
+ {% for row in entry.table.body %}
+
+ {% for cell in row %}
+ | {{ cell.wrapper_start|default('')|raw }}{{ cell.value|raw }}{{ cell.wrapper_end|default('')|raw }} |
+ {% endfor %}
+
+ {% endfor %}
+
+
+
+ {% elseif entry.table.body is iterable %}
+
{{ 'No data'|trans({}, 'Modules.Dashproducts.Admin') }}
+ {% else %}
+ {{ entry.table.body|raw }}
+ {% endif %}
+ {% endblock %}
+ {% endcomponent %}
+
+{% endfor %}