summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGusted <postmaster@gusted.xyz>2024-03-30 03:58:50 +0100
committerGusted <postmaster@gusted.xyz>2024-03-30 03:58:50 +0100
commit3ccc7b22d89550f1320b25131102dad8353dfba4 (patch)
treedf5528b559ad24fe65650cb0d8eadd440a89df15 /templates
parentMerge pull request '[I18N] make merge-locales & build/merge-forgejo-locales.g... (diff)
downloadforgejo-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.tmpl5
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"}}&nbsp;&nbsp;&nbsp;{{ctx.Locale.Tr "new_org"}}
- </a>
- {{end}}
</div>
</div>
</div>