From a90a4b9ac75a4647cfad95f9396e45b0a58361d6 Mon Sep 17 00:00:00 2001 From: Stefan Antonelli Date: Fri, 21 Jun 2024 13:32:00 +0200 Subject: [PATCH] use collapsible from settings --- .../sidebar/browser/templates/sidebar.pt | 39 ++++++++++--------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/src/collective/sidebar/browser/templates/sidebar.pt b/src/collective/sidebar/browser/templates/sidebar.pt index f816a24..b3faf9a 100644 --- a/src/collective/sidebar/browser/templates/sidebar.pt +++ b/src/collective/sidebar/browser/templates/sidebar.pt @@ -4,7 +4,8 @@ context_url context/absolute_url; anonymous view/is_anonymous; collapsible view/collapse_enabled; - can_collapse python:collapsible; + collapse python:collapsible and 'collapse' or ''; + role python:collapsible and 'button' or ''; icons python:context.restrictedTraverse('@@iconresolver');" i18n:domain="collective.sidebar">
@@ -15,9 +16,9 @@
- + Site actions - +
@@ -39,9 +40,9 @@
- + Links - +
@@ -63,9 +64,9 @@
- + Navigation - +
@@ -82,9 +83,9 @@
- + Edit - +
@@ -136,9 +137,9 @@
- + Workflow - +
@@ -176,9 +177,9 @@
- + Actions - +
@@ -202,9 +203,9 @@
- + Add - +
@@ -226,9 +227,9 @@
- + Display - +
@@ -259,9 +260,9 @@
- + Search - +