{% set can_insert = user.can('system_content_insert') %} {% set can_update = user.can('system_content_update') %} {% set can_delete = user.can('system_content_delete') %}
{% for table,rows in tables %}
{% if user.can('system_content_insert') %} {{ 'new'|text }} {% endif %} {% for lang in localization.language %} {% endfor %} {% for row in rows %} {% for code in localization.language|keys %} {% endfor %} {% endfor %}
# {{ 'keyword'|text }}{{ 'title'|text }} ({{ lang }}){{ 'category'|text }} {{ 'action'|text }}
{{ row['id'] }} {{ row['keyword'] }}{{ row['content']['title'][code] }}{{ row['category'] }} {% if can_update %} {% endif %} {% if can_delete %} {% endif %}
{% endfor %}