mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-07-18 07:28:47 +00:00
fix(ui): update sort dropdown structure for consistency across templates (#11423)
Main modified pages `/milestones`, `/issues`, `/pulls` and `/user/repo/projects` | Before | After | |----|----| |  |  | Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11423 Reviewed-by: 0ko <0ko@noreply.codeberg.org> Co-authored-by: panc <pan0xc@foxmail.com> Co-committed-by: panc <pan0xc@foxmail.com>
This commit is contained in:
parent
8531c059f6
commit
a4821c2bf9
3 changed files with 12 additions and 8 deletions
|
|
@ -23,7 +23,8 @@
|
|||
{{template "shared/search/combo" dict "Value" .Keyword "Placeholder" (ctx.Locale.Tr "search.project_kind")}}
|
||||
</form>
|
||||
<!-- Sort -->
|
||||
<div class="list-header-sort ui dropdown type jump item">
|
||||
<div class="ui secondary menu tw-mt-0">
|
||||
<div class="list-header-sort ui dropdown type jump item">
|
||||
<span class="text">
|
||||
{{ctx.Locale.Tr "repo.issues.filter_sort"}}
|
||||
</span>
|
||||
|
|
@ -34,6 +35,7 @@
|
|||
<a class="{{if eq .SortType "leastupdate"}}active {{end}}item" href="?q={{$.Keyword}}&sort=leastupdate&state={{$.State}}">{{ctx.Locale.Tr "repo.issues.filter_sort.leastupdate"}}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="milestone-list">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue