{# il2ks-template: templates/admin/base_site.html v1.2 - copy this line along when you override #} {% extends "admin/base_site.html" %}{% load i18n static %}{% comment %} Django's admin frame plus two warning banners. `custom_problems` comes from Il2ksAdminSite.each_context: a list of overrides in custom/ that are based on an old or unknown template version (TD-25). `doctor_alerts`: the errors and urgent warnings of the doctor checks the web server runs in the background (FR-OPS-1, il2ks.web.server_checks). Both are only filled for staff. This file extends the template of the same name from django.contrib.admin (Django allows that), so the rest of the admin is untouched. {% endcomment %} {% block extrastyle %}{{ block.super }}{% if custom_problems or doctor_alerts %}{% endif %}{% endblock %} {% block messages %} {% if doctor_alerts %}
{% blocktranslate with time=server_checks.at|date:"DATETIME_FORMAT" %}Checked at {{ time }}; the server checks again every hour. Run il2ks doctor to check again now, after a fix.{% endblocktranslate %}
{% translate "These files in your custom/ folder replace built-in il2ks files, but are based on an older version of them (or on an unknown one). They may be broken or hide new content. Visitors can be affected." %}
{{ item.key }}: {{ item.message }}{% blocktranslate %}Overview of all your overrides: il2ks custom list{% endblocktranslate %}