summaryrefslogtreecommitdiffstats
path: root/templates/repo/actions/openclose.tmpl
blob: 6874115a19ff93f4fb74c24d5aa33eda99d13b5c (plain)
1
2
3
4
5
6
7
8
9
10
<div class="small-menu-items ui compact tiny menu">
	<a class="{{if not .IsShowClosed}}active {{end}}item" href="{{$.Link}}?workflow={{.CurWorkflow}}&state=open">
		{{svg "octicon-issue-opened" 16 "gt-mr-3"}}
		{{.locale.Tr "actions.runs.open_tab" $.NumOpenActionRuns}}
	</a>
	<a class="{{if .IsShowClosed}}active {{end}}item" href="{{$.Link}}?workflow={{.CurWorkflow}}&state=closed">
		{{svg "octicon-issue-closed" 16 "gt-mr-3"}}
		{{.locale.Tr "actions.runs.closed_tab" $.NumClosedActionRuns}}
	</a>
</div>