commit f0d0a050f5d58bd47431474fd58c13d244d36dae
parent cab29ca7c492aefcefea1967b7fe37bdcd1db0fe
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Sun, 29 Jan 2023 19:42:30 -0800
fix template
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/web/public/views/pages/link.gohtml b/pkg/web/public/views/pages/link.gohtml
@@ -26,7 +26,7 @@
<a href="/u/{{ .Data.Link.OwnerUser.Username }}" {{ .Data.Link.OwnerUser.GenerateChatStyle | attr }}>@{{ .Data.Link.OwnerUser.Username }}</a>
(
<a href="/links/{{ .Data.Link.UUID }}/claim-certificate">certificate</a>
- {{ if eq .AuthUser.ID .Data.Link.OwnerUserID }}
+ {{ if eq .AuthUser.ID (.Data.Link.OwnerUserID | derefUserID) }}
| <a href="/links/{{ .Data.Link.UUID }}/claim">re-sign</a>
{{ end }}
)