{% extends 'ohmyadmin/app.html' %} {% import 'ohmyadmin/lib/pagination.html' as pagination %} {% import 'ohmyadmin/lib/buttons.html' as buttons %} {% block page_actions %} {% for action in page_actions %} {{ action }} {% endfor %} {% endblock %} {% block content %} {% include 'ohmyadmin/tables/metrics.html' %} {% if page_has_results %}
{% endif %} {% for column in columns %} | {{ column.render_head_cell(request, sorting_helper) }} | {% endfor %}
---|---|
{% endif %} {% for column in columns %} | {% set link = column.get_link(request, object) if column.has_link else '' %} {% if link %} {{ column(object) }} {% else %} {{ column(object) }} {% endif %} | {% endfor %}