diff --git a/django_daisy/templates/admin/parts/sidebar.html b/django_daisy/templates/admin/parts/sidebar.html index dd531bd..ddc5e79 100644 --- a/django_daisy/templates/admin/parts/sidebar.html +++ b/django_daisy/templates/admin/parts/sidebar.html @@ -29,7 +29,8 @@ {% if app.models|length == 1 %}
  • - + {{ app.name }} @@ -45,7 +46,8 @@ + + {% if not app_list %} + + {% endif %} -{% if not app_list %} -

    {% translate 'You don’t have permission to view or edit anything.' %}

    -{% endif %}