{% import 'ohmyadmin/pagination.html' as pagination %} {% import 'ohmyadmin/icons.html' as icons %} {% import 'ohmyadmin/actions.html' as actions %} {% macro render_head_cell(request, column) %} {% include 'ohmyadmin/screens/table/../../views/table/table_head_cell.html' %} {% endmacro %} {% macro render_cell(request, column, object) %} {% set value = column.get_value(object) %} {% set value = column.format_value(request, value) %} {% include 'ohmyadmin/screens/table/../../views/table/table_cell.html' %} {% endmacro %} {% if oob_filters %}
{% include 'ohmyadmin/screens/table/filters_bar.html' %}
{% endif %} {% if screen.batch_actions %} {% endif %} {% for column in screen.columns %} {% endfor %} {% if screen.row_actions %} {% endif %} {% for object in objects %} {% if screen.batch_actions %} {% endif %} {% for column in screen.columns %} {% endfor %} {% if screen.row_actions %} {% endif %} {% else %} {% endfor %}
{{ render_head_cell(request, column) }}
{{ render_cell(request, column, object) }}
{{ _('No data.', 'ohmyadmin') }}
{{ pagination.pagination(request, objects) }}