forked from mirror/gitea
0066bc5113
This adds a new filter option on the issues and pulls pages to filter by the author/poster/creator of the issue or PR
15 lines
883 B
Go HTML Template
15 lines
883 B
Go HTML Template
<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}}&poster={{.PosterID}}">
|
|
{{if .PageIsPullList}}
|
|
{{svg "octicon-git-pull-request" 16 "mr-3"}}
|
|
{{else}}
|
|
{{svg "octicon-issue-opened" 16 "mr-3"}}
|
|
{{end}}
|
|
{{JsPrettyNumber .IssueStats.OpenCount}} {{.locale.Tr "repo.issues.open_title"}}
|
|
</a>
|
|
<a class="{{if .IsShowClosed}}active{{end}} item" href="{{$.Link}}?q={{$.Keyword}}&type={{.ViewType}}&sort={{$.SortType}}&state=closed&labels={{.SelectLabels}}&milestone={{.MilestoneID}}&assignee={{.AssigneeID}}&poster={{.PosterID}}">
|
|
{{svg "octicon-check" 16 "mr-3"}}
|
|
{{JsPrettyNumber .IssueStats.ClosedCount}} {{.locale.Tr "repo.issues.closed_title"}}
|
|
</a>
|
|
</div>
|