chore: rename to NumActionRuns

This commit is contained in:
Jason Song
2023-01-04 18:21:26 +08:00
parent 6148e4c940
commit 95167fd0a2
6 changed files with 13 additions and 13 deletions

View File

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