mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-01-20 16:50:28 -05:00
fix(ui): correct switch ordering (#6576)
Regressions of #6459 and #6542: `templates/repo/issue/navbar.tmpl`: * `issue-list-navbar` is the ordering class which was incorrectly removed * and then it was incorrectly replaced with `list-header-toggle` `templates/repo/issue/openclose.tmpl`: * it did not have ordering rules in the first place * but then `list-header-toggle` was incorrectly applied to it Thanks to @fnetX for spotting and notifying! Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6576 Reviewed-by: Otto <otto@codeberg.org> Co-authored-by: 0ko <0ko@noreply.codeberg.org> Co-committed-by: 0ko <0ko@noreply.codeberg.org>
This commit is contained in:
parent
c81e5fe123
commit
dd1523c72e
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
<div class="switch list-header-toggle">
|
||||
<div class="switch issue-list-navbar">
|
||||
<a class="{{if .PageIsLabels}}active {{end}}item" href="{{.RepoLink}}/labels">{{ctx.Locale.Tr "repo.labels"}}</a>
|
||||
<a class="{{if .PageIsMilestones}}active {{end}}item" href="{{.RepoLink}}/milestones">{{ctx.Locale.Tr "repo.milestones"}}</a>
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="switch list-header-toggle">
|
||||
<div class="switch">
|
||||
<a class="{{if eq .State "open"}}active {{end}}item" href="{{.OpenLink}}" data-test-name="open-issue-count">
|
||||
{{if .PageIsMilestones}}
|
||||
{{svg "octicon-milestone" 16 "tw-mr-2"}}
|
||||
|
|
Loading…
Add table
Reference in a new issue