{% load form_extras %} {% load i18n %} {% if not table.rows and table.placeholder and table.create %}
{{table.placeholder}}
{% else %}
{% if table.heading %}
{{table.heading}} {% if table.count %}({{table.count}}){% endif %}
{% endif %}
{% if table.search %} {% if table.filters %} {% endif %} {% if table.modules %} {% endif %} {% if table.reports %} {% endif %} {% for button in table.buttons %} {% endfor %}
{% trans 'table_search' %}: {% if button|class_name == 'TableButtonGroup' %} {% else %} {% endif %}
{% endif %} {% if filter_title %}
{{filter_title}}
{% endif %} {% if table.multiselect %} {% endif %} {% for column in table.columns %} {% if column.sortable %} {% include "components/table_header.html" with sort=sort key=column.key name=column.name %} {% else %} {% endif %} {% endfor %} {% if table.rows %} {% for row in table.rows %} {% if table.multiselect %} {% endif %} {% for column in table.columns %} {% if table.update %} {% endfor %} {% endfor %} {% endif %}
 {{column.name}}
{% else %} {% endif %} {% if column.link %} {% if column.method %} {{ row|method:column.method }} {% else %} {% include "components/table_column.html" with type=column.type value=row|get:column%} {% endif %} {% else %} {% if column.method %} {{ row|method:column.method }} {% else %} {% if column.buttons %} {% for button in column.buttons %} {% if button|class_name == 'TableButton' %} {% endif %} {% if button|class_name == 'TableButtonIcon' %} {%if button|visible:row %} {% endif %} {% endif %} {% endfor %} {% else %} {% include "components/table_column.html" with type=column.type value=row|get:column%} {% endif %} {% endif %} {% endif %}
{% if page_count and not no_paginate %}
{% if pagination %}
{% include "components/paginator.html" %}
{% endif %}
 {{ page_count }} élément(s)
{% endif %} {% if paginator and paginator.count %}
{% if paginator.enabled %}
{% include "components/paginator_space.html" with paginator=paginator %}
{% endif %}
 {{ paginator.count }} élément(s)
{% endif %}
{% if table.create %} {% endif %}
{% endif %}