From 41ae3aaa6bdffafe9117bc6a3ab8a73b2c2da49e Mon Sep 17 00:00:00 2001 From: Adrian Simmons Date: Fri, 4 Oct 2024 10:39:42 +0100 Subject: [PATCH] Don't output willow logotype as a link on the Dashboard Signed-off-by: Adrian Simmons --- ws/static/dashboard.html.tmpl | 2 +- ws/static/header.html.tmpl | 2 +- ws/ws.go | 10 ++++++---- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ws/static/dashboard.html.tmpl b/ws/static/dashboard.html.tmpl index a431605124dfd3ac7eac9f68ce7528e5d3cd9afa..c62fbcabd12fd9f9d082e0b8fb38079635abe3e6 100644 --- a/ws/static/dashboard.html.tmpl +++ b/ws/static/dashboard.html.tmpl @@ -1,5 +1,5 @@ {{- template "head" }} -{{- template "header" }} +{{- template "header" .IsDashboard }}
diff --git a/ws/static/header.html.tmpl b/ws/static/header.html.tmpl index 23c3035ba92dc6df6e725fc11f0bcc918c01d4c2..f618eba0d9171f68cdb4c7f6ba51ff8174a21962 100644 --- a/ws/static/header.html.tmpl +++ b/ws/static/header.html.tmpl @@ -1,7 +1,7 @@ {{- define "header" }}
-

Willow

+

{{ if eq . true }}Willow{{ else }}Willow{{ end }}