diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl
index c798be02ff7f..9b0777465347 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 9078fda469b7..b7715cb5fe42 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 1080937f9134..e4ae736e8fa6 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 e03208e5c819..29e4bc09bcaa 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 40f28068d7d6..d2ba1e2b010d 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 236894af4d4c..4fd0d892f258 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 d8e480d9c675..77cb035600b2 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 52ad1b12dfc1..cc1026ce9e7d 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 75a0b8564abc..a15afe3d49b7 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 0a24dc19c812..b15cc2a68a7e 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 673e84c5c78e..3cdb456fb38c 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 6a3625ab7826..172844c954f4 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 05bed6902221..d02ea399189f 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 64dbb3df681e..422a4f046110 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 85ed96f3f734..586f83e65258 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 b2acdce8b2b4..f588d8224f3a 100644
--- a/templates/mail/release.tmpl
+++ b/templates/mail/release.tmpl
@@ -1,7 +1,7 @@
-
+
{{.Subject}}