summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/labels
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-04-24 08:48:43 +0200
committerGitHub <noreply@github.com>2023-04-24 02:48:43 -0400
commita319da0688763df662f5ef71684c8e9101803dbb (patch)
tree82f8521143902e8fcf328b7ac87e87ba946ff5da /templates/repo/issue/labels
parentcc8874864ca44ec013e132ebcb80b40878010d12 (diff)
downloadgitea-a319da0688763df662f5ef71684c8e9101803dbb.tar.gz
gitea-a319da0688763df662f5ef71684c8e9101803dbb.zip
Replace whitespace inside template parens during make fmt (#24293)
Remove space/tab after `(` and before `)` in templates. Only two violations it seems.
Diffstat (limited to 'templates/repo/issue/labels')
-rw-r--r--templates/repo/issue/labels/label_list.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/labels/label_list.tmpl b/templates/repo/issue/labels/label_list.tmpl
index a188a2f5d2..d2c041e2ca 100644
--- a/templates/repo/issue/labels/label_list.tmpl
+++ b/templates/repo/issue/labels/label_list.tmpl
@@ -42,7 +42,7 @@
{{end}}
</div>
<div class="three wide column">
- {{if and (not $.PageIsOrgSettingsLabels ) (not $.Repository.IsArchived) (or $.CanWriteIssues $.CanWritePulls)}}
+ {{if and (not $.PageIsOrgSettingsLabels) (not $.Repository.IsArchived) (or $.CanWriteIssues $.CanWritePulls)}}
<a class="ui right delete-button" href="#" data-url="{{$.Link}}/delete" data-id="{{.ID}}">{{svg "octicon-trash"}} {{$.locale.Tr "repo.issues.label_delete"}}</a>
<a class="ui right edit-label-button" href="#" data-id="{{.ID}}" data-title="{{.Name}}" {{if .Exclusive}}data-exclusive{{end}} data-num-issues="{{.NumIssues}}" data-description="{{.Description}}" data-color={{.Color}}>{{svg "octicon-pencil"}} {{$.locale.Tr "repo.issues.label_edit"}}</a>
{{else if $.PageIsOrgSettingsLabels}}