diff --git a/modules/templates/helper.go b/modules/templates/helper.go
index 8f1362afc4..fed15d67d6 100644
--- a/modules/templates/helper.go
+++ b/modules/templates/helper.go
@@ -60,7 +60,7 @@ func NewFuncMap() []template.FuncMap {
"AppSubUrl": func() string {
return setting.AppSubURL
},
- "StaticUrlPrefix": func() string {
+ "AssetUrlPrefix": func() string {
return setting.StaticURLPrefix + "/assets"
},
"AppUrl": func() string {
diff --git a/templates/admin/hook_new.tmpl b/templates/admin/hook_new.tmpl
index 9b251ec4cb..01e9e429a6 100644
--- a/templates/admin/hook_new.tmpl
+++ b/templates/admin/hook_new.tmpl
@@ -15,23 +15,23 @@
{{end}}
{{if eq .HookType "gitea"}}
-
+
{{else if eq .HookType "gogs"}}
-
+
{{else if eq .HookType "slack"}}
-
+
{{else if eq .HookType "discord"}}
-
+
{{else if eq .HookType "dingtalk"}}
-
+
{{else if eq .HookType "telegram"}}
-
+
{{else if eq .HookType "msteams"}}
-
+
{{else if eq .HookType "feishu"}}
-
+
{{else if eq .HookType "matrix"}}
-
+
{{end}}
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl
index bc45315ef9..25e163b19b 100644
--- a/templates/base/footer.tmpl
+++ b/templates/base/footer.tmpl
@@ -12,17 +12,17 @@
{{template "base/footer_content" .}}
{{if .RequireSimpleMDE}}
-
-
-
+
+
+
{{end}}
{{if .RequireU2F}}
-
+
{{end}}
{{if .EnableCaptcha}}
{{if eq .CaptchaType "recaptcha"}}
@@ -32,7 +32,7 @@
{{end}}
{{end}}
-
+
{{template "custom/footer" .}}