From 6c901506613b4b7223a4574cb35ebbaf98b4d5e1 Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Sat, 19 Jul 2025 15:39:57 -0300 Subject: [PATCH] feat: add selected count to floating transactions bar --- app/templates/cotton/ui/transactions_action_bar.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/templates/cotton/ui/transactions_action_bar.html b/app/templates/cotton/ui/transactions_action_bar.html index 56afe0d..1f98681 100644 --- a/app/templates/cotton/ui/transactions_action_bar.html +++ b/app/templates/cotton/ui/transactions_action_bar.html @@ -10,7 +10,8 @@ end else if #actions-bar - remove .tw:hidden from #actions-bar + set #selected-count's innerHTML to length of in #transactions-list + then remove .tw:hidden from #actions-bar then trigger selected_transactions_updated end end @@ -19,6 +20,8 @@
{% spaceless %} +
0
+