From 5e00ea8d94ff5aff62c389a1d741eb06b1ee79d6 Mon Sep 17 00:00:00 2001 From: pluja Date: Tue, 31 Oct 2023 18:00:06 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=80=20refactor(service=5Fcard.html):?= =?UTF-8?q?=20update=20service=20card=20template=20to=20display=20differen?= =?UTF-8?q?t=20label=20based=20on=20service=20type=20or=20category=20?= =?UTF-8?q?=F0=9F=90=9B=20fix(service=5Fcard.html):=20fix=20missing=20newl?= =?UTF-8?q?ine=20at=20the=20end=20of=20the=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/web/templates/components/service_card.html | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/web/templates/components/service_card.html b/src/web/templates/components/service_card.html index 26d6617..45e52e6 100644 --- a/src/web/templates/components/service_card.html +++ b/src/web/templates/components/service_card.html @@ -26,10 +26,17 @@
- - {{.Type}} - + {{if eq .Type "exchange"}} + + {{.Type}} + + {{else}} + + {{.Category}} + + {{end}} {{template "components/service_icons" .}}
- \ No newline at end of file + +