aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/openclose.tmpl
blob: 018f474841b1b8dc13c77df72a12ab73661faf2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<div class="small-menu-items ui compact tiny menu">
	<a class="{{if not .IsShowClosed}}active {{end}}item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state=open&labels={{.SelectLabels}}&milestone={{.MilestoneID}}&project={{.ProjectID}}&assignee={{.AssigneeID}}&poster={{.PosterID}}">
		{{if .PageIsPullList}}
			{{svg "octicon-git-pull-request" 16 "gt-mr-3"}}
		{{else}}
			{{svg "octicon-issue-opened" 16 "gt-mr-3"}}
		{{end}}
		{{.locale.PrettyNumber .IssueStats.OpenCount}}&nbsp;{{ctx.Locale.Tr "repo.issues.open_title"}}
	</a>
	<a class="{{if .IsShowClosed}}active {{end}}item" href="{{$.Link}}?q={{$.Keyword}}&type={{.ViewType}}&sort={{$.SortType}}&state=closed&labels={{.SelectLabels}}&milestone={{.MilestoneID}}&project={{.ProjectID}}&assignee={{.AssigneeID}}&poster={{.PosterID}}">
		{{svg "octicon-check" 16 "gt-mr-3"}}
		{{.locale.PrettyNumber .IssueStats.ClosedCount}}&nbsp;{{ctx.Locale.Tr "repo.issues.closed_title"}}
	</a>
</div>