From d45070eb74c57e6365dffb46f3e08526f9855166 Mon Sep 17 00:00:00 2001 From: Gregoo Date: Mon, 3 Feb 2025 17:10:13 +0100 Subject: [PATCH] Display metadata filters only if they have values --- templates/sets.html | 56 ++++++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 26 deletions(-) diff --git a/templates/sets.html b/templates/sets.html index dc0a557..943f794 100644 --- a/templates/sets.html +++ b/templates/sets.html @@ -79,20 +79,22 @@ -
- -
- Owner - + {% if brickset_owners | length %} +
+ +
+ Owner + +
-
+ {% endif %} {% if brickset_storages | length %}
@@ -109,20 +111,22 @@
{% endif %} -
- -
- Tag - + {% if brickset_tags | length %} +
+ +
+ Tag + +
-
+ {% endif %}
{% for item in collection %}