diff --git a/static/locales/en/translation.json b/static/locales/en/translation.json index 63646ee7a..02c2fce0d 100644 --- a/static/locales/en/translation.json +++ b/static/locales/en/translation.json @@ -103,6 +103,7 @@ "link": "Go to {{link}}" }, "theme": { + "switcher": "Switch theme", "light": "Light", "dark": "Dark", "system": "Auto" diff --git a/static/locales/it/translation.json b/static/locales/it/translation.json index 2a40aba97..feb49f2a7 100644 --- a/static/locales/it/translation.json +++ b/static/locales/it/translation.json @@ -103,6 +103,7 @@ "link": "Vai a {{link}}" }, "theme": { + "switcher": "Cambia tema", "light": "Chiaro", "dark": "Scuro", "system": "Auto" diff --git a/templates/common/base.html b/templates/common/base.html index c8d7f9bc2..f94601c8b 100644 --- a/templates/common/base.html +++ b/templates/common/base.html @@ -14,7 +14,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com). --> {{- define "errmsg"}} -
+ diff --git a/templates/webadmin/base.html b/templates/webadmin/base.html index f60bac8ce..27675ff86 100644 --- a/templates/webadmin/base.html +++ b/templates/webadmin/base.html @@ -17,13 +17,13 @@ {{- block "additionalnavitems" .}}{{- end}} {{- template "theme-switcher"}}
-
+
- {{- end}} {{- if .LoggedUser.HasPermission "*"}} diff --git a/templates/webadmin/eventaction.html b/templates/webadmin/eventaction.html index c50f6b0c6..debeeffac 100644 --- a/templates/webadmin/eventaction.html +++ b/templates/webadmin/eventaction.html @@ -883,9 +883,9 @@

Cop