Commits

salvator  committed 4a79546

branding link

  • Participants
  • Parent commits 86ae6a1
  • Branches default

Comments (0)

Files changed (1)

File admintools_bootstrap/templates/admin/base_site.html

 {% extends "admin/base.html" %}
 {% load i18n admin_tools_menu_tags %}
+{% load url from future %}
 
 {% block title %}{{ title }} | {% if site %}{{ site.name }} {% trans "admin" %}{% else %}{% trans 'Django site admin' %}{% endif %}{% endblock %}
 
 {% endblock %}
 
 {% block branding %}
-<a class="brand">{% if site %}{{ site.name }} {% trans "admin" %}{% else %}{% trans 'Django admin' %}{% endif %}</a>
+<a class="brand" href="{% url 'admin:index' %}">{% if site %}{{ site.name }} {% trans "admin" %}{% else %}{% trans 'Django admin' %}{% endif %}</a>
 {% endblock %}
 
 {% block nav-global %}