From bc3cc176ef7359fbd21517724df28a0d2a19785d Mon Sep 17 00:00:00 2001 From: Frederik Baerentsen Date: Sat, 27 Sep 2025 23:43:27 +0200 Subject: [PATCH] Fixed purchase information on consolidated cards --- templates/macro/badge.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/macro/badge.html b/templates/macro/badge.html index 87052f7..7a363f2 100644 --- a/templates/macro/badge.html +++ b/templates/macro/badge.html @@ -88,7 +88,7 @@ {% else %} {% set text=purchase_location.fields.name %} {% endif %} - {{ badge(url=purchase_location.url(), solo=solo, last=last, color='light border', icon='building-line', text=text, tooltip=tooltip, collapsible='Location:') }} + {{ badge(check=purchase_location, solo=solo, last=last, color='light border', icon='building-line', text=text, tooltip=tooltip, collapsible='Location:') }} {% endif %} {% endfor %} {% else %} @@ -100,7 +100,7 @@ {% else %} {% set text=purchase_location.fields.name %} {% endif %} - {{ badge(url=purchase_location.url(), solo=solo, last=last, color='light border', icon='building-line', text=text, tooltip=tooltip, collapsible='Location:') }} + {{ badge(check=purchase_location, solo=solo, last=last, color='light border', icon='building-line', text=text, tooltip=tooltip, collapsible='Location:') }} {% endif %} {% endif %} {% endif %}