From bd54d575063463cf28a9b6d4a6954918093a35b3 Mon Sep 17 00:00:00 2001 From: pluja Date: Thu, 23 May 2024 23:58:31 +0200 Subject: [PATCH] improve comments styling --- src/frontend/templates/service.html | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/src/frontend/templates/service.html b/src/frontend/templates/service.html index dce4ea7..601ce0d 100644 --- a/src/frontend/templates/service.html +++ b/src/frontend/templates/service.html @@ -190,20 +190,24 @@ -
{{partial "partials/kyc_level" .Service.KycLevel}}
+
{{partial "partials/kyc_level" .Service.KycLevel}}
-
- {{if .Attributes}} -
{{range .Attributes}} {{partial "partials/attribute_line" .}} {{end}}
- {{end}} {{if .Service.Comments}} -
- {{range .Service.Comments}} -

* {{.}}

- {{end}} -
+ + {{if .Service.Comments}} +
+ {{range .Service.Comments}} +

+ {{ . | safe }}

+ {{end}} +
{{end}} + + {{if .Attributes}} +
{{range .Attributes}} {{partial "partials/attribute_line" .}} {{end}}
+ {{end}} (updated {{humanizePbTimeString .Service.Updated}})