[PR #1705] [MERGED] Hide the create organization button (in dashboard/organization section) #16007

Closed
opened 2025-11-02 12:00:08 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1705
Author: @junxie6
Created: 5/11/2017
Status: Merged
Merged: 5/12/2017
Merged by: @appleboy

Base: masterHead: dev


📝 Commits (1)

  • 1e2e8f5 Hide the create organization button (in dashboard/organization section)

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 templates/user/dashboard/dashboard.tmpl (+2 -0)

📄 Description

Hide the create organization button (in dashboard/organization section) when the user has no such permission.

My code simply added a if checking block.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/1705 **Author:** [@junxie6](https://github.com/junxie6) **Created:** 5/11/2017 **Status:** ✅ Merged **Merged:** 5/12/2017 **Merged by:** [@appleboy](https://github.com/appleboy) **Base:** `master` ← **Head:** `dev` --- ### 📝 Commits (1) - [`1e2e8f5`](https://github.com/go-gitea/gitea/commit/1e2e8f5bb7f0fab1fc8f1674ec5ee3d472e17bb9) Hide the create organization button (in dashboard/organization section) ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `templates/user/dashboard/dashboard.tmpl` (+2 -0) </details> ### 📄 Description Hide the create organization button (in dashboard/organization section) when the user has no such permission. My code simply added a if checking block. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:00:08 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16007