diff options
author | Gusted <postmaster@gusted.xyz> | 2024-03-30 03:58:50 +0100 |
---|---|---|
committer | Gusted <postmaster@gusted.xyz> | 2024-03-30 03:58:50 +0100 |
commit | 3ccc7b22d89550f1320b25131102dad8353dfba4 (patch) | |
tree | df5528b559ad24fe65650cb0d8eadd440a89df15 /templates | |
parent | Merge pull request '[I18N] make merge-locales & build/merge-forgejo-locales.g... (diff) | |
download | forgejo-3ccc7b22d89550f1320b25131102dad8353dfba4.tar.xz forgejo-3ccc7b22d89550f1320b25131102dad8353dfba4.zip |
[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.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/user/dashboard/navbar.tmpl | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/templates/user/dashboard/navbar.tmpl b/templates/user/dashboard/navbar.tmpl index bdd26ec464..b2ee198b0a 100644 --- a/templates/user/dashboard/navbar.tmpl +++ b/templates/user/dashboard/navbar.tmpl @@ -35,11 +35,6 @@ </a> {{end}} </div> - {{if .SignedUser.CanCreateOrganization}} - <a class="item" href="{{AppSubUrl}}/org/create"> - {{svg "octicon-plus"}} {{ctx.Locale.Tr "new_org"}} - </a> - {{end}} </div> </div> </div> |