2023-05-04 05:58:59 +08:00
|
|
|
<div class="small-menu-items ui compact tiny menu">
|
2024-01-15 23:07:22 +08:00
|
|
|
<a class="{{if eq .State "open"}}active {{end}}item" href="{{if eq .State "open"}}{{.AllStatesLink}}{{else}}{{.OpenLink}}{{end}}">
|
2023-10-18 08:03:42 +08:00
|
|
|
{{if .PageIsMilestones}}
|
|
|
|
{{svg "octicon-milestone" 16 "gt-mr-3"}}
|
|
|
|
{{else 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}}
|
2023-10-18 08:03:42 +08:00
|
|
|
{{ctx.Locale.PrettyNumber .OpenCount}} {{ctx.Locale.Tr "repo.issues.open_title"}}
|
2020-11-29 23:52:11 +08:00
|
|
|
</a>
|
2024-01-15 23:07:22 +08:00
|
|
|
<a class="{{if eq .State "closed"}}active {{end}}item" href="{{if eq .State "closed"}}{{.AllStatesLink}}{{else}}{{.ClosedLink}}{{end}}">
|
2023-02-14 01:59:59 +08:00
|
|
|
{{svg "octicon-check" 16 "gt-mr-3"}}
|
2023-10-18 08:03:42 +08:00
|
|
|
{{ctx.Locale.PrettyNumber .ClosedCount}} {{ctx.Locale.Tr "repo.issues.closed_title"}}
|
2020-11-29 23:52:11 +08:00
|
|
|
</a>
|
|
|
|
</div>
|