1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-09 11:08:19 +00:00

Make sure fmt catches all templates (#20979)

* Make sure fmt catches all templates

Make's `wildcard` is not recursive so it missed many template files, fix
that by using `find`.

* Update Makefile
This commit is contained in:
silverwind
2022-08-31 17:58:54 +02:00
committed by GitHub
parent c80ca94ab1
commit 647b2649b1
62 changed files with 251 additions and 251 deletions

View File

@@ -30,10 +30,10 @@
</div>
<!-- LDAP and DLDAP -->
{{ template "admin/auth/source/ldap" . }}
{{template "admin/auth/source/ldap" .}}
<!-- SMTP -->
{{ template "admin/auth/source/smtp" . }}
{{template "admin/auth/source/smtp" .}}
<!-- PAM -->
<div class="pam required field {{if not (eq .type 4)}}hide{{end}}">
@@ -51,10 +51,10 @@
</div>
<!-- OAuth2 -->
{{ template "admin/auth/source/oauth" . }}
{{template "admin/auth/source/oauth" .}}
<!-- SSPI -->
{{ template "admin/auth/source/sspi" . }}
{{template "admin/auth/source/sspi" .}}
<div class="ldap field">
<div class="ui checkbox">