[PR #1739] [MERGED] Display all organization from user settings #16024

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1739
Author: @DblK
Created: 5/17/2017
Status: Merged
Merged: 6/2/2017
Merged by: @appleboy

Base: masterHead: feature_UserOrganization


📝 Commits (7)

📊 Changes

5 files changed (+57 additions, -0 deletions)

View changed files

📝 options/locale/locale_en-US.ini (+4 -0)
📝 routers/routes/routes.go (+1 -0)
📝 routers/user/setting.go (+14 -0)
📝 templates/user/settings/navbar.tmpl (+3 -0)
templates/user/settings/organization.tmpl (+35 -0)

📄 Description

This PR implement the display of all organizations that the current member is in.

Here are the UI modifications:

image

image

image

Feel free to comment. This is a port of a PR I made for gogs.


🔄 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/1739 **Author:** [@DblK](https://github.com/DblK) **Created:** 5/17/2017 **Status:** ✅ Merged **Merged:** 6/2/2017 **Merged by:** [@appleboy](https://github.com/appleboy) **Base:** `master` ← **Head:** `feature_UserOrganization` --- ### 📝 Commits (7) - [`efb5bb8`](https://github.com/go-gitea/gitea/commit/efb5bb82a87f410539825b0855733245bdf09153) Display all organization from user settings - [`1a3afd4`](https://github.com/go-gitea/gitea/commit/1a3afd4e3893b1aa283ae2bcc3ef6115adf24dda) fix Tab selection - [`4926e72`](https://github.com/go-gitea/gitea/commit/4926e72fe107eba4b2f15384cd365e78eff84528) Update locale_en-US.ini - [`26d0031`](https://github.com/go-gitea/gitea/commit/26d003141524306873e4d94a59126f2bfdf637ff) Add a condition for display Create organization button - [`5643710`](https://github.com/go-gitea/gitea/commit/564371094df9ca539d88cc854b39e7f016af68cc) Merge branch 'feature_UserOrganization' of https://github.com/DblK/gitea into feature_UserOrganization - [`bd99979`](https://github.com/go-gitea/gitea/commit/bd99979413fcf1f68bd41316895909d1ea1894d3) Remove french translation - [`9c10a30`](https://github.com/go-gitea/gitea/commit/9c10a308e3aa7ab962bc5ead433a2113c5ce5890) Remove unnecessary admin flag ### 📊 Changes **5 files changed** (+57 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `options/locale/locale_en-US.ini` (+4 -0) 📝 `routers/routes/routes.go` (+1 -0) 📝 `routers/user/setting.go` (+14 -0) 📝 `templates/user/settings/navbar.tmpl` (+3 -0) ➕ `templates/user/settings/organization.tmpl` (+35 -0) </details> ### 📄 Description This PR implement the display of all organizations that the current member is in. Here are the UI modifications: ![image](https://cloud.githubusercontent.com/assets/832617/26157278/174ac87a-3b19-11e7-907a-495f8adfe4b4.png) ![image](https://cloud.githubusercontent.com/assets/832617/26157302/265ae3ea-3b19-11e7-81f5-434236c9bffb.png) ![image](https://cloud.githubusercontent.com/assets/832617/26157317/334134ba-3b19-11e7-88d9-399b8b4d06b8.png) Feel free to comment. This is a port of a [PR](https://github.com/gogits/gogs/pull/3587) I made for gogs. --- <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:32 -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#16024