From 78419357b5d81a054f1131d63be87950bb7255a3 Mon Sep 17 00:00:00 2001 From: Teajey <21069848+Teajey@users.noreply.github.com> Date: Mon, 13 May 2024 21:17:20 +1200 Subject: [PATCH] feat: separate descriptions from labels --- templates/foreign_wishlist.gotmpl | 23 +++++++++++++---------- templates/home.gotmpl | 7 +++++-- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/templates/foreign_wishlist.gotmpl b/templates/foreign_wishlist.gotmpl index 2dff137..0548108 100644 --- a/templates/foreign_wishlist.gotmpl +++ b/templates/foreign_wishlist.gotmpl @@ -20,26 +20,29 @@ + {{if .ClaimantId}} + {{if eq .ClaimantId $.CurrentUserId}} + {{if .Sent}}Completed{{else}}Claimed{{end}} by you + {{else}} + {{if .Sent}}Completed{{else}}Claimed{{end}} by + {{.ClaimantName}} + {{end}} + {{end}} {{end}} diff --git a/templates/home.gotmpl b/templates/home.gotmpl index ddc6b2e..92c7ae5 100644 --- a/templates/home.gotmpl +++ b/templates/home.gotmpl @@ -47,7 +47,7 @@