From c0fcdf3b6e30a9c211a2c0fe12f5ac689228c5e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Fri, 28 Mar 2025 15:47:08 -0700 Subject: [PATCH] fix(ui): update entry tags display logic to show links based on user authentication --- internal/template/templates/views/entry.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/internal/template/templates/views/entry.html b/internal/template/templates/views/entry.html index 490600ed..8381da79 100644 --- a/internal/template/templates/views/entry.html +++ b/internal/template/templates/views/entry.html @@ -135,7 +135,14 @@ {{ if .entry.Tags }}
{{ t "entry.tags.label" }} - {{range $i, $e := .entry.Tags}}{{if $i}}, {{end}}{{ $e }}{{end}} + {{ range $i, $e := .entry.Tags }} + {{if $i}}, {{end}} + {{ if $.user }} + {{ $e }} + {{ else }} + {{ $e }} + {{ end }} + {{ end }}
{{ end }}