17 lines
664 B
Go HTML Template
17 lines
664 B
Go HTML Template
<div class="small-menu-items ui compact tiny menu">
|
|
<a class="{{if not .IsShowClosed}}active {{end}}item" href="{{.OpenLink}}">
|
|
{{if .PageIsMilestones}}
|
|
{{svg "octicon-milestone" 16 "gt-mr-3"}}
|
|
{{else if .PageIsPullList}}
|
|
{{svg "octicon-git-pull-request" 16 "gt-mr-3"}}
|
|
{{else}}
|
|
{{svg "octicon-issue-opened" 16 "gt-mr-3"}}
|
|
{{end}}
|
|
{{ctx.Locale.PrettyNumber .OpenCount}} {{ctx.Locale.Tr "repo.issues.open_title"}}
|
|
</a>
|
|
<a class="{{if .IsShowClosed}}active {{end}}item" href="{{.ClosedLink}}">
|
|
{{svg "octicon-check" 16 "gt-mr-3"}}
|
|
{{ctx.Locale.PrettyNumber .ClosedCount}} {{ctx.Locale.Tr "repo.issues.closed_title"}}
|
|
</a>
|
|
</div>
|