Improved admin title generation
This commit is contained in:
1 parent
8db8528542
commit
690d28dd8c
1 file changed
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
{% block title %}
|
{% block title %}
|
||||||
{% get_admin_interface_theme as theme %}
|
{% 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 %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block extrastyle %}
|
{% block extrastyle %}
|
||||||
|
|||||||
Reference in new issue
Block a user