Parcourir la source

Fix circular override issue

Denis K il y a 8 ans
Parent
commit
7b5a1e338c
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      jet/templates/admin/base_site.html

+ 6 - 0
jet/templates/admin/base.html → jet/templates/admin/base_site.html

@@ -1,6 +1,12 @@
 {% extends "admin/base.html" %}
 {% load i18n static jet_tags %}
 
+{% block title %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %}
+
+{% block branding %}
+    <h1 id="site-name"><a href="{% url 'admin:index' %}">{{ site_header|default:_('Django administration') }}</a></h1>
+{% endblock %}
+
 {% block extrastyle %}
     {{ block.super }}
     {% get_current_jet_version as JET_VERSION %}