2020-11-29 23:52:11 +08:00
|
|
|
<div class="ui compact tiny menu">
|
2023-01-29 11:45:29 +08:00
|
|
|
<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}}">
|
2022-06-12 20:08:23 +08:00
|
|
|
{{if .PageIsPullList}}
|
2023-02-14 01:59:59 +08:00
|
|
|
{{svg "octicon-git-pull-request" 16 "gt-mr-3"}}
|
2022-06-12 20:08:23 +08:00
|
|
|
{{else}}
|
2023-02-14 01:59:59 +08:00
|
|
|
{{svg "octicon-issue-opened" 16 "gt-mr-3"}}
|
2022-06-12 20:08:23 +08:00
|
|
|
{{end}}
|
2022-06-28 04:58:46 +08:00
|
|
|
{{JsPrettyNumber .IssueStats.OpenCount}} {{.locale.Tr "repo.issues.open_title"}}
|
2020-11-29 23:52:11 +08:00
|
|
|
</a>
|
2023-01-29 11:45:29 +08:00
|
|
|
<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}}">
|
2023-02-14 01:59:59 +08:00
|
|
|
{{svg "octicon-check" 16 "gt-mr-3"}}
|
2022-06-28 04:58:46 +08:00
|
|
|
{{JsPrettyNumber .IssueStats.ClosedCount}} {{.locale.Tr "repo.issues.closed_title"}}
|
2020-11-29 23:52:11 +08:00
|
|
|
</a>
|
|
|
|
</div>
|