diff --git a/admin/templates/comments.html.twig b/admin/templates/comments.html.twig index b72ab52..7700f2e 100644 --- a/admin/templates/comments.html.twig +++ b/admin/templates/comments.html.twig @@ -1,38 +1,11 @@ {% extends 'partials/base.html.twig' %} -{% set mode = 'types' %} - -{% if uri.paths[1] == 'data-manager' and uri.paths[2] %} - {% set mode = 'items' %} - {% set type = uri.paths[2] %} - - {% if uri.paths[3] %} - {% set mode = 'item' %} - {% set item = uri.paths[3] %} - {% endif %} - -{% endif %} {% if admin.route %} {% set context = admin.page(true) %} {% endif %} {% block titlebar %} - {% if mode == 'types' %} -
-{{ column.label|e }} | - {% endfor %} -
---|
- - {% if column.field is iterable %} - {% set value = item.content %} - {% for field in column.field %} - {% set value = value[field] %} - {% endfor %} - {{ value|e }} - {% else %} - {{ item.content[column.field]|e }} - {% endif %} - - | - {% endfor %} -
{{ count }} {{"PLUGIN_DATA_MANAGER.ITEMS"|e|tu}}
-