forked from kevadesu/forgejo
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:
parent
c80ca94ab1
commit
647b2649b1
62 changed files with 251 additions and 251 deletions
|
@ -21,7 +21,7 @@
|
|||
|
||||
<div class="ui attached segment">
|
||||
<div class="labelspage">
|
||||
{{if and (not $.PageIsOrgSettingsLabels) (or $.CanWriteIssues $.CanWritePulls) (eq .NumLabels 0) (not $.Repository.IsArchived) }}
|
||||
{{if and (not $.PageIsOrgSettingsLabels) (or $.CanWriteIssues $.CanWritePulls) (eq .NumLabels 0) (not $.Repository.IsArchived)}}
|
||||
{{template "repo/issue/labels/label_load_template" .}}
|
||||
<div class="ui divider"></div>
|
||||
{{else if and ($.PageIsOrgSettingsLabels) (eq .NumLabels 0)}}
|
||||
|
@ -57,7 +57,7 @@
|
|||
</div>
|
||||
</li>
|
||||
{{end}}
|
||||
{{if and (not .PageIsOrgSettingsLabels) (.OrgLabels) }}
|
||||
{{if and (not .PageIsOrgSettingsLabels) (.OrgLabels)}}
|
||||
<li class="item">
|
||||
<div class="ui grid middle aligned">
|
||||
<div class="ten wide column">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue