{% extends 'themes/'~layout_dir~'/layout.html' %}
{% block body %}
{% include 'themes/default/modules/PortalModule/module.actions.html' %}
{% set column_count = kanban_records|length %}
{% if column_count > 6 %}
{% set col_class = (12/column_count|round(0, 'floor'))*2 %}
{% else %}
{% set col_class = 12/column_count|round(0, 'floor') %}
{% endif %}
{% for kanban_group, group_records in kanban_records %}
addexpand_less {{kanban_group|trans}}
{% for record in group_records %}
{{record[kanban_fields[0]]|raw}}
{% for fieldname in kanban_fields %}
{% if loop.index>1 %}
{{fieldname|trans}}: {{record[fieldname]|raw}}
{% endif %}
{% endfor %}
zoom_in
{% if edit_enabled is defined and edit_enabled %}
mode_edit
{% endif %}
{% if pdf_download_enabled is defined and pdf_download_enabled and app.download_enabled %}
picture_as_pdf{{"Download PDF"|trans}}
{% endif %}
{% endfor %}
{% endfor %}
{% if create_enabled is defined and create_enabled %}