1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 03:03:08 +00:00

[FEAT] Remove add organization on dashboard switcher

- Similair to #2593 that removed subtle add button in a place where it's
strictly not needed.
- Remove the "Add organization" item in the 'context dashboard switcher' dropdown.
This commit is contained in:
Gusted 2024-03-30 03:58:50 +01:00
parent 91b8874acf
commit 3ccc7b22d8
No known key found for this signature in database
GPG key ID: FD821B732837125F

View file

@ -35,11 +35,6 @@
</a>
{{end}}
</div>
{{if .SignedUser.CanCreateOrganization}}
<a class="item" href="{{AppSubUrl}}/org/create">
{{svg "octicon-plus"}}&nbsp;&nbsp;&nbsp;{{ctx.Locale.Tr "new_org"}}
</a>
{{end}}
</div>
</div>
</div>