From 65f402fd35fe5840fb8070e818b15d1d9d66dc8e Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Mon, 26 Jun 2023 20:48:57 +0100 Subject: [PATCH] admin: hide my account button when disabled --- html/admin.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/html/admin.html b/html/admin.html index e5cda12..81fd381 100644 --- a/html/admin.html +++ b/html/admin.html @@ -417,9 +417,11 @@ -
- {{ .strings.myAccount }} -
+ {{ if .userPageEnabled }} +
+ {{ .strings.myAccount }} +
+ {{ end }}