{% extends 'base_app.html' %} {% load i18n widget_tweaks static django_tables2 %} {% block title %}{{ title }}{% endblock %} {% block content %}
{% if table_left %}
{% block table_left %}{% endblock %}
{% endif %}
{% block table_title %} {% include "metronic/backend/tables2/pagination.html" %} {% endblock %}
{% block table_content %}
{% if object_list.count > 0 or table.paginator.count > 0 %} {% render_table table %} {% else %}

{% if empty_table %} {{ empty_table|safe }} {% else %} {% blocktrans %} No {{ title }} found.{% endblocktrans %} {% endif %}

{% endif %}
{% endblock %}
{% if table_right %}
{% block table_right %}{% endblock %}
{% endif %} {% block extra_content %}{% endblock %}
{% endblock %}