From a78b36b87121dd759776df6119b2c271ff0b42dc Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Wed, 19 Aug 2020 14:55:16 -0400 Subject: [PATCH] Fix whitespace in user/settings.tmpl --- templates/user/settings.tmpl | 40 ++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/templates/user/settings.tmpl b/templates/user/settings.tmpl index b6abadc..95c57c4 100644 --- a/templates/user/settings.tmpl +++ b/templates/user/settings.tmpl @@ -75,18 +75,18 @@ h3 { font-weight: normal; } {{end}} - {{ if .OauthSection }} + {{ if .OauthSection }}
- {{ if .OauthAccounts }} + {{ if .OauthAccounts }}

Linked Accounts

These are your linked external accounts.

- {{ range $oauth_account := .OauthAccounts }} -
- - - + {{ range $oauth_account := .OauthAccounts }} + + + +
{{ if $oauth_account.DisplayName}} {{ if $oauth_account.AllowDisconnect}} @@ -99,8 +99,8 @@ h3 { font-weight: normal; } {{end}}
-
- {{ end }} + + {{ end }}
{{ end }} {{ if or .OauthSlack .OauthWriteAs .OauthGitLab .OauthGeneric .OauthGitea }} @@ -116,41 +116,41 @@ h3 { font-weight: normal; } {{ end }} - {{ if .OauthSlack }} + {{ if .OauthSlack }}
Slack Link Slack
- {{ end }} - {{ if .OauthGitLab }} + {{ end }} + {{ if .OauthGitLab }}
GitLab Link {{.GitLabDisplayName}}
- {{ end }} - {{ if .OauthGitea }} + {{ end }} + {{ if .OauthGitea }}
Gitea Link {{.GiteaDisplayName}}
- {{ end }} + {{ end }} - {{ if .OauthGeneric }} + {{ if .OauthGeneric }}
+

Link {{ .OauthGenericDisplayName }}

+
- {{ end }} + {{ end }} {{ end }} - {{ end }} + {{ end }}