From f2bde41d23b6cf2b74060c67ac162c8c0afe3445 Mon Sep 17 00:00:00 2001 From: yaghoubi Date: Sun, 15 Dec 2024 14:58:27 +0330 Subject: [PATCH] some ui imporvments --- django_daisy/templates/admin/parts/sidebar.html | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/django_daisy/templates/admin/parts/sidebar.html b/django_daisy/templates/admin/parts/sidebar.html index dc1f637..12ee810 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 %}