Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 09:54:24 +01:00

fix: Repository units to have dropdown menu chevron

Uses the same menu chevron used in the Actions menu for Units.

Signed-off-by: GDWR <gregory.dwr@gmail.com>
This commit is contained in:
GDWR 2024-07-17 18:18:30 +01:00
parent 5bd682b59d
commit 9acac30e1e
No known key found for this signature in database
GPG key ID: AA50DFAD8C88A6DE

View file

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