mirror of
https://github.com/go-gitea/gitea
synced 2024-09-12 17:37:21 +02:00
The ui of list header in milestone page is not same as issue and pr list page. And they are using different template codes which can be merged into one. Before: ![image](https://github.com/go-gitea/gitea/assets/18380374/29eb426c-2dd6-4cf2-96e0-82339fb631bb) ![image](https://github.com/go-gitea/gitea/assets/18380374/b36c4dff-469a-4395-8a02-a8c54e17ab21) ![image](https://github.com/go-gitea/gitea/assets/18380374/d882c74a-451b-431d-b58e-3635a15d9718) ![image](https://github.com/go-gitea/gitea/assets/18380374/292cd38d-1b50-47f1-b32c-9b5de90ce5fb) After: ![image](https://github.com/go-gitea/gitea/assets/18380374/4529234e-67dc-4e17-9440-e638be4fbc41) ![image](https://github.com/go-gitea/gitea/assets/18380374/c15b4d86-0762-497b-b28d-72d09443d629) --------- Co-authored-by: puni9869 <80308335+puni9869@users.noreply.github.com>
18 lines
608 B
Handlebars
18 lines
608 B
Handlebars
<div id="issue-filters" class="issue-list-toolbar">
|
|
<div class="issue-list-toolbar-left">
|
|
{{if and ($.CanWriteIssuesOrPulls) (gt (len .Issues) 0)}}
|
|
<input type="checkbox" autocomplete="off" class="issue-checkbox-all gt-mr-4" title="{{ctx.Locale.Tr "repo.issues.action_check_all"}}">
|
|
{{end}}
|
|
{{template "repo/issue/openclose" .}}
|
|
</div>
|
|
<div class="issue-list-toolbar-right">
|
|
<div class="ui secondary filter menu labels">
|
|
{{if .PageIsMilestones}}
|
|
{{template "repo/issue/milestone/filter_list" .}}
|
|
{{else}}
|
|
{{template "repo/issue/filter_list" .}}
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
</div>
|