2020-11-29 08:52:11 -07:00
|
|
|
<div class="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}}&assignee={{.AssigneeID}}">
|
2022-06-12 06:08:23 -06:00
|
|
|
{{if .PageIsPullList}}
|
|
|
|
{{svg "octicon-git-pull-request" 16 "mr-3"}}
|
|
|
|
{{else}}
|
|
|
|
{{svg "octicon-issue-opened" 16 "mr-3"}}
|
|
|
|
{{end}}
|
2022-06-27 14:58:46 -06:00
|
|
|
{{JsPrettyNumber .IssueStats.OpenCount}} {{.locale.Tr "repo.issues.open_title"}}
|
2020-11-29 08:52:11 -07:00
|
|
|
</a>
|
|
|
|
<a class="{{if .IsShowClosed}}active{{end}} item" href="{{$.Link}}?q={{$.Keyword}}&type={{.ViewType}}&sort={{$.SortType}}&state=closed&labels={{.SelectLabels}}&milestone={{.MilestoneID}}&assignee={{.AssigneeID}}">
|
2022-06-12 06:08:23 -06:00
|
|
|
{{svg "octicon-check" 16 "mr-3"}}
|
2022-06-27 14:58:46 -06:00
|
|
|
{{JsPrettyNumber .IssueStats.ClosedCount}} {{.locale.Tr "repo.issues.closed_title"}}
|
2020-11-29 08:52:11 -07:00
|
|
|
</a>
|
|
|
|
</div>
|