{% extends 'admin/base.html' %} {% comment %} The admin's front page, replaced. Django's is a list of models, which answers "what exists" and never "what needs doing" -- so an editor lands on a menu and has to go looking for the page they were asked to change. The cards above the model list are the numbers that change what somebody does next: how much of the site is translated, which required content is still empty, whether sign-ins have started failing, what has been ordered, what the shop has run out of, and which of the dates somebody wrote down is now close enough to do something about. Each is filled in by infrastructure.common.adminui.dashboard, each is permission-checked there, and each is missing rather than empty when its app is not installed. {% endcomment %} {% load i18n unfold %} {% block title %}{% if subtitle %}{{ subtitle }} | {% endif %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %} {% block branding %} {% include "unfold/helpers/site_branding.html" %} {% endblock %} {% block content %} {% if content_numbers or shop_numbers or account_numbers or site_events.tracked %}