{{define "oauth-buttons"}} {{ if or .SlackEnabled .WriteAsEnabled .GitLabEnabled .GiteaEnabled .GenericEnabled }}
Sign in with Write.as
{{ end }}
{{ if .GitLabEnabled }}
Sign in with {{.GitLabDisplayName}}
{{ end }}
{{ if .GiteaEnabled }}
Sign in with {{.GiteaDisplayName}}
{{ end }}
{{ if .GenericEnabled }}
Sign in with {{.GenericDisplayName}}
{{ end }}
or