2020-11-29 10:52:11 -05: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 08:08:23 -04:00
|
|
|
{{if .PageIsPullList}}
|
|
|
|
{{svg "octicon-git-pull-request" 16 "mr-3"}}
|
|
|
|
{{else}}
|
|
|
|
{{svg "octicon-issue-opened" 16 "mr-3"}}
|
|
|
|
{{end}}
|
|
|
|
{{JsPrettyNumber .IssueStats.OpenCount}} {{.i18n.Tr "repo.issues.open_title"}}
|
2020-11-29 10:52:11 -05: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 08:08:23 -04:00
|
|
|
{{svg "octicon-check" 16 "mr-3"}}
|
|
|
|
{{JsPrettyNumber .IssueStats.ClosedCount}} {{.i18n.Tr "repo.issues.closed_title"}}
|
2020-11-29 10:52:11 -05:00
|
|
|
</a>
|
|
|
|
</div>
|