Fixed custom django admin header. #75

pull/78/head
Fabio Caccamo 2020-02-21 17:47:21 +01:00
parent d97fc38a88
commit 535a7c0490
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ https://github.com/fabiocaccamo/django-admin-interface
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if theme.title_visible %} {% if theme.title_visible %}
<span>{% if theme.title %}{% trans theme.title %}{% else %}{% trans 'Django administration' %}{% endif %}</span> <span>{% if theme.title %}{% trans theme.title %}{% else %}{{ site_header|default:_('Django administration') }}{% endif %}</span>
{% endif %} {% endif %}
</h1> </h1>
{% endblock %} {% endblock %}