From eb83982117e1a319014fc0e66c4d2f0101c3ab18 Mon Sep 17 00:00:00 2001 From: weeman Date: Sat, 4 Jul 2026 19:36:38 +0200 Subject: [PATCH] Fix client filters The client data was restructured in 686c08bb02bafb51b63ed952172b3f340953a8c6. Update the filter CSS to match the new structure. Signed-off-by: weeman --- templates/macros/clients.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/macros/clients.html b/templates/macros/clients.html index 14076ab61..f0c471401 100644 --- a/templates/macros/clients.html +++ b/templates/macros/clients.html @@ -115,8 +115,10 @@ licence-{{ client.licence | slugify }} -{% for feature_name, feature_supported in client.features %} -{% if feature_supported %}feature-{{ feature_name | replace(from="_", to="-") }}{% endif %} +{% for feature_level_name, features in client.features %} + {% for feature_name, feature_state in features %} + {% if feature_state == "supported" %}feature-{{ feature_name | replace(from="_", to="-") }}{% endif %} + {% endfor %} {% endfor %} {% endmacro classes %}