Improved admin title generation

pull/17/head
Fabio Caccamo 2017-05-11 16:53:19 +02:00
parent 8db8528542
commit 690d28dd8c
1 changed files with 1 additions and 1 deletions

View File

@ -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 %}