From ea78a6db5710c630fc3bd2d1d6c9551ea82b39f9 Mon Sep 17 00:00:00 2001 From: Ethan Koenig Date: Mon, 20 Nov 2017 21:43:00 -0800 Subject: Spaces to tabs in templates (#2953) --- templates/user/settings/keys_gpg.tmpl | 96 +++++++++++++++---------------- templates/user/settings/keys_ssh.tmpl | 104 +++++++++++++++++----------------- templates/user/settings/security.tmpl | 46 +++++++-------- 3 files changed, 123 insertions(+), 123 deletions(-) (limited to 'templates/user/settings') diff --git a/templates/user/settings/keys_gpg.tmpl b/templates/user/settings/keys_gpg.tmpl index 6d30bc7331..80b2b27523 100644 --- a/templates/user/settings/keys_gpg.tmpl +++ b/templates/user/settings/keys_gpg.tmpl @@ -1,58 +1,58 @@

- {{.i18n.Tr "settings.manage_gpg_keys"}} -
-
{{.i18n.Tr "settings.add_key"}}
-
+ {{.i18n.Tr "settings.manage_gpg_keys"}} +
+
{{.i18n.Tr "settings.add_key"}}
+

-
-
- {{.i18n.Tr "settings.gpg_desc"}} -
- {{range .GPGKeys}} -
-
- -
- -
- {{range .Emails}}{{.Email}} {{end}} -
- {{$.i18n.Tr "settings.key_id"}}: {{.KeyID}} - {{$.i18n.Tr "settings.subkeys"}}: {{range .SubsKey}} {{.KeyID}} {{end}} -
-
- {{$.i18n.Tr "settings.add_on"}} {{DateFmtShort .Added}} - - - {{if not .Expired.IsZero }}{{$.i18n.Tr "settings.valid_until"}} {{DateFmtShort .Expired}}{{else}}{{$.i18n.Tr "settings.valid_forever"}}{{end}} -
-
-
- {{end}} -
+
+
+ {{.i18n.Tr "settings.gpg_desc"}} +
+ {{range .GPGKeys}} +
+
+ +
+ +
+ {{range .Emails}}{{.Email}} {{end}} +
+ {{$.i18n.Tr "settings.key_id"}}: {{.KeyID}} + {{$.i18n.Tr "settings.subkeys"}}: {{range .SubsKey}} {{.KeyID}} {{end}} +
+
+ {{$.i18n.Tr "settings.add_on"}} {{DateFmtShort .Added}} + - + {{if not .Expired.IsZero }}{{$.i18n.Tr "settings.valid_until"}} {{DateFmtShort .Expired}}{{else}}{{$.i18n.Tr "settings.valid_forever"}}{{end}} +
+
+
+ {{end}} +

{{.i18n.Tr "settings.gpg_helper" "https://help.github.com/articles/about-gpg/" | Str2html}}

-

- {{.i18n.Tr "settings.add_new_gpg_key"}} -

-
-
- {{.CsrfTokenHtml}} - -
- - -
- - -
-
+

+ {{.i18n.Tr "settings.add_new_gpg_key"}} +

+
+
+ {{.CsrfTokenHtml}} + +
+ + +
+ + +
+
-
+
-

+

{{.i18n.Tr "settings.twofa"}}

-
-

{{.i18n.Tr "settings.twofa_desc"}}

- {{if .TwofaEnrolled}} -

{{$.i18n.Tr "settings.twofa_is_enrolled" | Str2html }}

-
- {{.CsrfTokenHtml}} -

{{.i18n.Tr "settings.regenerate_scratch_token_desc"}}

- -
-
- {{.CsrfTokenHtml}} -

{{.i18n.Tr "settings.twofa_disable_note"}}

-
{{$.i18n.Tr "settings.twofa_disable"}}
-
- {{else}} -

{{.i18n.Tr "settings.twofa_not_enrolled"}}

- - {{end}} -
+
+

{{.i18n.Tr "settings.twofa_desc"}}

+ {{if .TwofaEnrolled}} +

{{$.i18n.Tr "settings.twofa_is_enrolled" | Str2html }}

+
+ {{.CsrfTokenHtml}} +

{{.i18n.Tr "settings.regenerate_scratch_token_desc"}}

+ +
+
+ {{.CsrfTokenHtml}} +

{{.i18n.Tr "settings.twofa_disable_note"}}

+
{{$.i18n.Tr "settings.twofa_disable"}}
+
+ {{else}} +

{{.i18n.Tr "settings.twofa_not_enrolled"}}

+ + {{end}} +
-- cgit v1.2.3