1. David Jean Louis
  2. django-admin-tools
  3. Issues
Issue #24 invalid

base_site Template wrong

Anonymous created an issue

admin_tools/menu/templates/admin/base_site.html

is not correct menu is not rendered because {% block nav-global %} should be closed after rendering the menu :

{% block nav-global %} {% if user and user.is_authenticated %} {% if not is_popup %} {% admin_tools_render_menu %} {% endif %} {% endif %} {% endblock %}

instead of

{% block nav-global %}{% endblock %} {% if user and user.is_authenticated %} {% if not is_popup %} {% admin_tools_render_menu %} {% endif %} {% endif %}

Comments (1)

  1. Log in to comment