fix: template format

This commit is contained in:
Jason Song
2022-12-12 14:07:55 +08:00
parent d41fb40fb5
commit 5cfc48c288
4 changed files with 5 additions and 4 deletions

View File

@@ -184,7 +184,7 @@
{{end}}
{{if and .EnableActions (not .UnitActionsGlobalDisabled) (.Permission.CanRead $.UnitTypeActions)}}
<a class="{{if .PageIsActions}}active{{end}} item" href="{{.RepoLink}}/actions">
<a class="{{if .PageIsActions}}active {{end}}item" href="{{.RepoLink}}/actions">
{{svg "octicon-play"}} {{.locale.Tr "repo.actions"}}
{{if .Repository.NumOpenRuns}}
<span class="ui blue small label">{{CountFmt .Repository.NumOpenRuns}}</span>