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 }}

-
+

Link {{ .OauthGenericDisplayName }}

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