diff --git a/templates/repo/settings/deploy_keys.tmpl b/templates/repo/settings/deploy_keys.tmpl index a9e540bc65..b776848a56 100644 --- a/templates/repo/settings/deploy_keys.tmpl +++ b/templates/repo/settings/deploy_keys.tmpl @@ -4,14 +4,14 @@ {{.locale.Tr "repo.settings.deploy_keys"}}
{{if not .DisableSSH}} - + {{else}} {{end}}
-
+
{{.CsrfTokenHtml}}
diff --git a/templates/user/settings/keys_gpg.tmpl b/templates/user/settings/keys_gpg.tmpl index e7a66de23f..2ecebcd7c0 100644 --- a/templates/user/settings/keys_gpg.tmpl +++ b/templates/user/settings/keys_gpg.tmpl @@ -1,11 +1,11 @@

{{.locale.Tr "settings.manage_gpg_keys"}}
- +

-
+
{{.CsrfTokenHtml}} @@ -41,7 +41,10 @@
- {{.locale.Tr "settings.gpg_desc"}} +

+ {{.locale.Tr "settings.gpg_desc"}}
+ {{.locale.Tr "settings.gpg_helper" "https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/about-commit-signature-verification#gpg-commit-signature-verification" | Str2html}} +

{{range .GPGKeys}}
@@ -107,17 +110,14 @@ {{end}} {{end}}
-
-
-

{{.locale.Tr "settings.gpg_helper" "https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/about-commit-signature-verification#gpg-commit-signature-verification" | Str2html}}

- -