Improved admin title generation

This commit is contained in:
Fabio Caccamo
2017-05-11 16:53:19 +02:00
parent 8db8528542
commit 690d28dd8c
@@ -3,7 +3,7 @@
{% block title %}
{% get_admin_interface_theme as theme %}
{% if theme.title %}{% trans theme.title %}{% else %}{% trans 'Django administration' %}{% endif %}
{% if title %}{{ title }} | {% endif %}{% if theme.title %}{% trans theme.title %}{% else %}{{ site_title|default:_('Django administration') }}{% endif %}
{% endblock %}
{% block extrastyle %}