From fad1301c5d28b35dc14b2fc21611ef717c3095da Mon Sep 17 00:00:00 2001 From: Geoffrey Brun <68049696+geobrun@users.noreply.github.com> Date: Tue, 16 Apr 2024 09:26:30 +0200 Subject: [PATCH] Update sideBar.html --- atlas/templates/core/sideBar.html | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/atlas/templates/core/sideBar.html b/atlas/templates/core/sideBar.html index f99cd2a23..09285c98e 100644 --- a/atlas/templates/core/sideBar.html +++ b/atlas/templates/core/sideBar.html @@ -5,26 +5,24 @@ {% for page_key, page_values in configuration.STATIC_PAGES.items()|sort(attribute='1.order') %} {% if 'url' in page_values %} - + + {% if 'customized_picto' in page_values %} + + {% else %} + + {% endif %} + {% else %} - + + {% if 'customized_picto' in page_values %} + + {% else %} + + {% endif %} + {% endif %} {% endfor %}