From 735327e46b22663eeafdea588e80d5566a8dc8c4 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 5 Jul 2024 12:53:14 -0500 Subject: [PATCH] fix: improve collapse panels for butterball theme --- tailbone/templates/custorders/create.mako | 10 +- tailbone/templates/people/view_profile.mako | 117 ++++++++++++++------ 2 files changed, 87 insertions(+), 40 deletions(-) diff --git a/tailbone/templates/custorders/create.mako b/tailbone/templates/custorders/create.mako index 9a3a2d57..63505422 100644 --- a/tailbone/templates/custorders/create.mako +++ b/tailbone/templates/custorders/create.mako @@ -78,15 +78,16 @@ + icon="caret-down"> + icon="caret-right"> +   @@ -525,15 +526,16 @@ + icon="caret-down"> + icon="caret-right"> +   diff --git a/tailbone/templates/people/view_profile.mako b/tailbone/templates/people/view_profile.mako index 0b700ca5..1eac6a2f 100644 --- a/tailbone/templates/people/view_profile.mako +++ b/tailbone/templates/people/view_profile.mako @@ -836,20 +836,35 @@
- + <${b}-collapse v-for="member in members" + :key="member.uuid" + class="panel" + :open="members.length == 1"> -
- - - {{ member._key }} - {{ member.display }} -
+
@@ -917,7 +932,7 @@
-
+
@@ -957,20 +972,35 @@

- + <${b}-collapse v-for="customer in customers" + :key="customer.uuid" + class="panel" + :open="customers.length == 1"> -
- - - {{ customer._key }} - {{ customer.name }} -
+
@@ -1045,7 +1075,7 @@
-
+
@@ -1639,15 +1669,30 @@ :key="user.uuid" class="panel"> -
- - +