diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl
index c798be02ff..9b07774653 100644
--- a/templates/admin/auth/edit.tmpl
+++ b/templates/admin/auth/edit.tmpl
@@ -328,11 +328,11 @@
{{range .OAuth2Providers}}{{if .CustomURLSettings}}
-
-
-
-
-
+
+
+
+
+
{{end}}{{end}}
diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl
index 9078fda469..b7715cb5fe 100644
--- a/templates/admin/auth/new.tmpl
+++ b/templates/admin/auth/new.tmpl
@@ -38,7 +38,7 @@
-
+
diff --git a/templates/admin/auth/source/oauth.tmpl b/templates/admin/auth/source/oauth.tmpl
index 1080937f91..e4ae736e8f 100644
--- a/templates/admin/auth/source/oauth.tmpl
+++ b/templates/admin/auth/source/oauth.tmpl
@@ -65,11 +65,11 @@
{{range .OAuth2Providers}}{{if .CustomURLSettings}}
-
-
-
-
-
+
+
+
+
+
{{end}}{{end}}
diff --git a/templates/admin/cron.tmpl b/templates/admin/cron.tmpl
index e03208e5c8..29e4bc09bc 100644
--- a/templates/admin/cron.tmpl
+++ b/templates/admin/cron.tmpl
@@ -29,7 +29,7 @@
{{end}}
-
+
{{.CsrfTokenHtml}}
diff --git a/templates/admin/dashboard.tmpl b/templates/admin/dashboard.tmpl
index 40f28068d7..d2ba1e2b01 100644
--- a/templates/admin/dashboard.tmpl
+++ b/templates/admin/dashboard.tmpl
@@ -42,12 +42,12 @@
{{if and (not .SSH.Disabled) (not .SSH.StartBuiltinServer)}}
- {{.locale.Tr "admin.dashboard.resync_all_sshkeys"}}
+ | {{.locale.Tr "admin.dashboard.resync_all_sshkeys"}}
{{.locale.Tr "admin.dashboard.resync_all_sshkeys.desc"}} |
|
- {{.locale.Tr "admin.dashboard.resync_all_sshprincipals"}}
+ | {{.locale.Tr "admin.dashboard.resync_all_sshprincipals"}}
{{.locale.Tr "admin.dashboard.resync_all_sshprincipals.desc"}} |
|
diff --git a/templates/admin/user/edit.tmpl b/templates/admin/user/edit.tmpl
index 236894af4d..4fd0d892f2 100644
--- a/templates/admin/user/edit.tmpl
+++ b/templates/admin/user/edit.tmpl
@@ -171,7 +171,7 @@
-
+
{{end}}
diff --git a/templates/api/packages/pypi/simple.tmpl b/templates/api/packages/pypi/simple.tmpl
index d8e480d9c6..77cb035600 100644
--- a/templates/api/packages/pypi/simple.tmpl
+++ b/templates/api/packages/pypi/simple.tmpl
@@ -8,7 +8,7 @@
{{range .PackageDescriptors}}
{{$p := .}}
{{range .Files}}
- {{.File.Name}}
+ {{.File.Name}}
{{end}}
{{end}}
diff --git a/templates/home.tmpl b/templates/home.tmpl
index 52ad1b12df..cc1026ce9e 100644
--- a/templates/home.tmpl
+++ b/templates/home.tmpl
@@ -3,7 +3,7 @@
-
+
-
+
{{template "base/footer" .}}
diff --git a/templates/mail/auth/activate.tmpl b/templates/mail/auth/activate.tmpl
index 75a0b8564a..a15afe3d49 100644
--- a/templates/mail/auth/activate.tmpl
+++ b/templates/mail/auth/activate.tmpl
@@ -1,8 +1,8 @@
-
-
+
+
{{.locale.Tr "mail.activate_account.title" (.DisplayName|DotEscape)}}
diff --git a/templates/mail/auth/activate_email.tmpl b/templates/mail/auth/activate_email.tmpl
index 0a24dc19c8..b15cc2a68a 100644
--- a/templates/mail/auth/activate_email.tmpl
+++ b/templates/mail/auth/activate_email.tmpl
@@ -1,8 +1,8 @@
-
-
+
+
{{.locale.Tr "mail.activate_email.title" (.DisplayName|DotEscape)}}
diff --git a/templates/mail/auth/register_notify.tmpl b/templates/mail/auth/register_notify.tmpl
index 673e84c5c7..3cdb456fb3 100644
--- a/templates/mail/auth/register_notify.tmpl
+++ b/templates/mail/auth/register_notify.tmpl
@@ -1,8 +1,8 @@
-
-
+
+
{{.locale.Tr "mail.register_notify.title" (.DisplayName|DotEscape) AppName}}
diff --git a/templates/mail/auth/reset_passwd.tmpl b/templates/mail/auth/reset_passwd.tmpl
index 6a3625ab78..172844c954 100644
--- a/templates/mail/auth/reset_passwd.tmpl
+++ b/templates/mail/auth/reset_passwd.tmpl
@@ -1,8 +1,8 @@
-
-
+
+
{{.locale.Tr "mail.reset_password.title" (.DisplayName|DotEscape)}}
diff --git a/templates/mail/issue/assigned.tmpl b/templates/mail/issue/assigned.tmpl
index 05bed69022..d02ea39918 100644
--- a/templates/mail/issue/assigned.tmpl
+++ b/templates/mail/issue/assigned.tmpl
@@ -4,7 +4,7 @@
-
+
{{.Subject}}
diff --git a/templates/mail/issue/default.tmpl b/templates/mail/issue/default.tmpl
index 64dbb3df68..422a4f0461 100644
--- a/templates/mail/issue/default.tmpl
+++ b/templates/mail/issue/default.tmpl
@@ -1,7 +1,7 @@
-
+
{{.Subject}}
-
+
{{.Subject}}
diff --git a/templates/mail/notify/repo_transfer.tmpl b/templates/mail/notify/repo_transfer.tmpl
index 85ed96f3f7..586f83e652 100644
--- a/templates/mail/notify/repo_transfer.tmpl
+++ b/templates/mail/notify/repo_transfer.tmpl
@@ -1,7 +1,7 @@
-
+
{{.Subject}}
diff --git a/templates/mail/release.tmpl b/templates/mail/release.tmpl
index b2acdce8b2..f588d8224f 100644
--- a/templates/mail/release.tmpl
+++ b/templates/mail/release.tmpl
@@ -1,7 +1,7 @@
-
+
{{.Subject}}