From 12835f16f099e3e3e14fc0dfac89d856791079d3 Mon Sep 17 00:00:00 2001 From: Gregoo Date: Sat, 18 Jan 2025 17:32:50 +0100 Subject: [PATCH] Display the number of instructions files if there are any --- templates/set/card.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/set/card.html b/templates/set/card.html index 850e6c9..7284a27 100644 --- a/templates/set/card.html +++ b/templates/set/card.html @@ -40,7 +40,7 @@ {% if solo %}
{% if not delete %} - {{ accordion.header('Instructions', 'instructions', 'set-details', expanded=open_instructions, icon='file-line', class='p-0') }} + {{ accordion.header('Instructions', 'instructions', 'set-details', expanded=open_instructions, size=item.instructions | length, icon='file-line', class='p-0') }}
{% if item.instructions | length %} {% for instruction in item.instructions %}