summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/openclose.tmpl
diff options
context:
space:
mode:
author0ko <0ko@noreply.codeberg.org>2025-01-15 20:56:17 +0100
committerOtto <otto@codeberg.org>2025-01-15 20:56:17 +0100
commitdd1523c72ee622a4d38b347668bf56003984eba0 (patch)
treeba2d977c2752aad587f37ca84287c17ba44b374d /templates/repo/issue/openclose.tmpl
parentchore(release-notes): Forgejo v10.0.0 (#6408) (diff)
downloadforgejo-dd1523c72ee622a4d38b347668bf56003984eba0.tar.xz
forgejo-dd1523c72ee622a4d38b347668bf56003984eba0.zip
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>
Diffstat (limited to '')
-rw-r--r--templates/repo/issue/openclose.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/openclose.tmpl b/templates/repo/issue/openclose.tmpl
index d93c7e01f5..efe4fa6756 100644
--- a/templates/repo/issue/openclose.tmpl
+++ b/templates/repo/issue/openclose.tmpl
@@ -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"}}