{% extends "admin/index.html" %}
{% load i18n djello_template_tags %}

{% block bodyclass %}{{ block.super }} app-{{ app_label }}{% endblock %}

{% if not is_popup %}
  {% block breadcrumbs %}
    <div class="breadcrumbs">
      <div class="breadcrumbs-inner">
        <div class="row m-0">
          <div class="col-sm-4">
            <div class="page-header float-left">
              <div class="page-title">
                <h1>{% if title %}{{ title }}{% endif %}</h1>
              </div>
            </div>
          </div>
          <div class="col-sm-8">
            <div class="page-header float-right">
              <div class="page-title">
                <ol class="breadcrumb text-right">
                  <li><a href="{% url 'admin:index' %}">{% trans 'Home' %}</a></li>
                  {% for app in app_list %}
                    <li class="active">{{ app.name }}</li>
                  {% endfor %}
                </ol>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  {% endblock %}
{% endif %}

{% block content %}
  <!-- To Do and Live Chat -->
  <div class="content pb-0">
    <div class="row">
      <div class="col-lg-12">
        <div class="card">
          <div class="card-body">
            <h4 class="card-title box-title">{% trans 'Actions' %}</h4>
            <div class="card-content scrollable">
                <div class="tdl-content">
                  <ul class="list-group list-group-flush">
                    {% render_app_model_list %}
                  </ul>
                </div>
              <!-- /.todo-list -->
            </div>
          </div>
          <!-- /.card-body -->
        </div>
        <!-- /.card -->
      </div>
    </div>
    <!-- /.row -->
    <!-- To Do and Live Chat End -->
  </div>
{% endblock %}