Fixed custom django admin header. #75

This commit is contained in:
Fabio Caccamo
2020-02-21 17:47:21 +01:00
parent d97fc38a88
commit 535a7c0490
@@ -57,7 +57,7 @@ https://github.com/fabiocaccamo/django-admin-interface
{% endif %}
{% endif %}
{% 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 %}
</h1>
{% endblock %}