Merge pull request '[v9.0/forgejo] fix(ui): Details icon in repo settings sidebar' (#5891) from bp-v9.0/forgejo-5932b86 into v9.0/forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5891
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
Gusted 2024-11-10 12:54:50 +00:00
commit 336ccf45c8

View file

@ -5,7 +5,7 @@
{{ctx.Locale.Tr "repo.settings.options"}} {{ctx.Locale.Tr "repo.settings.options"}}
</a> </a>
<details class="item toggleable-item" {{if .PageIsRepoSettingsUnits}}open{{end}}> <details class="item toggleable-item" {{if .PageIsRepoSettingsUnits}}open{{end}}>
<summary class="item{{if .PageIsRepoSettingsUnits}} active{{end}}">{{ctx.Locale.Tr "repo.settings.units.units"}}</summary> <summary {{if .PageIsRepoSettingsUnits}}class="active"{{end}}>{{ctx.Locale.Tr "repo.settings.units.units"}}</summary>
<div class="menu"> <div class="menu">
<a class="item" href="{{.RepoLink}}/settings/units#overview"> <a class="item" href="{{.RepoLink}}/settings/units#overview">
{{ctx.Locale.Tr "repo.settings.units.overview"}} {{ctx.Locale.Tr "repo.settings.units.overview"}}