From d32ad1d5ca974403dc619e33a87d067ebdaf909c Mon Sep 17 00:00:00 2001 From: David Champion Date: Thu, 3 Apr 2025 13:14:15 -0700 Subject: [PATCH] Show shelf sizes in layout --- cps/templates/layout.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/templates/layout.html b/cps/templates/layout.html index d433a5aaa..25ee6fa4c 100644 --- a/cps/templates/layout.html +++ b/cps/templates/layout.html @@ -154,7 +154,7 @@ {% if current_user.is_authenticated or g.allow_anonymous %} {% for shelf in g.shelves_access %} -
  • {{shelf.name|shortentitle(40)}}{% if shelf.is_public == 1 %} {{_('(Public)')}}{% endif %}
  • +
  • {{shelf.name|shortentitle(40)}}{% if shelf.is_public == 1 %} {{_('(Public)')}}{% endif %} ({{shelf.books.all()|length}})
  • {% endfor %} {% if not current_user.is_anonymous %}