Clean up org pages layout#37445
Merged
silverwind merged 6 commits intogo-gitea:mainfrom Apr 27, 2026
Merged
Conversation
Contributor
Author
507ecda to
a11b01a
Compare
silverwind
reviewed
Apr 27, 2026
Member
|
#37446 regarding apparant flaky test. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR refactors organization-related page layouts by removing legacy/org-specific CSS and updating org templates to use shared flex utility classes, while also adjusting the team invite and team sidebar markup.
Changes:
- Removed legacy
repoorg.cssstyling and pruned org-specific CSS rules fromorg.css. - Updated org templates (org header, org home sidebar, team sidebar, team invite) to use shared flex layout helpers (
flex-left-right,flex-relaxed-list,flex-text-block) and simpler segment structure. - Added a commented-out debug stub in the org teams router (currently left in the code).
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| web_src/css/shared/repoorg.css | Removed legacy repo/org header + tabs layout rules. |
| web_src/css/org.css | Removed org header/invite/teams navbar CSS that no longer matches updated markup. |
| web_src/css/index.css | Dropped import of the removed repoorg.css. |
| templates/org/team/sidebar.tmpl | Replaced “table segment + item” structure with stacked attached segments and new flex header layout. |
| templates/org/team/invite.tmpl | Reworked invite page markup to a centered flex layout instead of a Semantic UI card. |
| templates/org/home.tmpl | Updated members/teams sidebar blocks to use flex-left-right headers and flex-relaxed-list content layout. |
| templates/org/header.tmpl | Refactored org header markup to new shared flex layout helpers and removed old id/class hooks. |
| routers/web/org/teams.go | Added commented-out debug assignment lines in TeamInvite. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
lunny
approved these changes
Apr 27, 2026
silverwind
approved these changes
Apr 27, 2026
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
Apr 29, 2026
* main: Add DEFAULT_TITLE_SOURCE setting for pull request title default behavior (go-gitea#37465) Fix compare dropdown for branches without common history (go-gitea#37470) FIX: URL sanitization to handle schemeless credentials (go-gitea#37440) Refactor pull request view (4) (go-gitea#37451) Fix scheduled action panic with null event payload (go-gitea#37459) Fix attachment Content-Security-Policy (go-gitea#37455) [skip ci] Updated translations via Crowdin Rename CurrentRefPath to CurrentRefSubURL (go-gitea#37453) Clean up org pages layout (go-gitea#37445) Fix script error alert (go-gitea#37458) Fix inconsistent disabled styling on logged-out repo header buttons (go-gitea#37406) Add API endpoint to reply to pull request review comments (go-gitea#36683) Add CurrentURL template variable back (go-gitea#37444)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





Uh oh!
There was an error while loading. Please reload this page.