{% extends "admin:admin/index.html" %} {% comment %} * Load FontAwesome CSS. * Style app list with featured apps. * Remove sidebar. {% endcomment %} {% load i18n admin_static dashboard_tags compress %} {% block content_title %}{% endblock %} {% block stylesheet %}{% endblock %} {% block extrastyle %} {% compress css %} {# Bootstrap, then default admin styles, then our styles. #} {# This avoids overriding the admin with Bootstrap, and allows us to override anything. #} {% endcompress %} {{ block.super }} {% endblock %} {% block extrahead %} {{ block.super }} {% compress js %} {% endcompress %} {% endblock %} {% block content %}
{% for app in app_list|filter_featured_apps:request %}
{% include "admin/app_widget.html" with app=app %}
{% endfor %} {# the usual app list goes here #} {% if app_list %}

{{ title }}

{% for column in app_list|partition_app_list:3 %}
    {% for app in column %}
  • {% if app.app_url %} {{ app.name }} {% else %} {{ app.name }} {% endif %}
  • {% for model in app.models %}
  • {% if model.admin_url %} {{ model.name }} {% else %} {{ model.name }} {% endif %}

      {% if model.add_url %}
    • {% endif %}
  • {% endfor %} {% endfor %}
{% endfor %}
{% endif %}
{% endblock %} {% block sidebar %}{% endblock %}