mirror of
https://github.com/go-gitea/gitea
synced 2025-12-07 13:28:25 +00:00
chore: rename to NumActionRuns
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<div class="ui compact tiny menu">
|
||||
<a class="{{if not .IsShowClosed}}active {{end}}item" href="{{$.Link}}?workflow={{.CurWorkflow}}&state=open">
|
||||
{{svg "octicon-issue-opened" 16 "mr-3"}}
|
||||
{{.locale.Tr "actions.open_tab" $.NumOpenRuns}}
|
||||
{{.locale.Tr "actions.open_tab" $.NumOpenActionRuns}}
|
||||
</a>
|
||||
<a class="{{if .IsShowClosed}}active {{end}}item" href="{{$.Link}}?workflow={{.CurWorkflow}}&state=closed">
|
||||
{{svg "octicon-issue-closed" 16 "mr-3"}}
|
||||
{{.locale.Tr "actions.closed_tab" $.NumClosedRuns}}
|
||||
{{.locale.Tr "actions.closed_tab" $.NumClosedActionRuns}}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user