1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 00:54:28 +00:00
gitea/templates/org/team
Lunny Xiao e4c4629465
Move RepoTransfer from models to models/repo sub package (#32506)
`RepoTransfer` now is at models, but if we want to move it into `repo`
model, it will depend on `Team`. So this PR also makes repo model depend
on org model to make it possible. Just refactor, no code change.

- [x] Move `DeleteOrganization` from `models/organization` to service
layer
- [x] Move `AccessibleTeamReposEnv` to `models/repo`
- [x] Move `RepoTransfer` from `models` to `models/repo`
- [x] Merge `getUserTeamIDs` and `GetUserTeamIDs`, Merge `GetUserTeams`
and `getUserTeams`.
- [x] Remove `Team`'s `Repos []*repo_model.Repository` to avoid dependency recycle.
2024-12-18 11:44:16 +08:00
..
invite.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 2024-02-22 18:05:47 +00:00
members.tmpl Fix all rounded borders, change affected tab menus to pills (#30707) 2024-04-29 20:53:15 +00:00
navbar.tmpl Fix all rounded borders, change affected tab menus to pills (#30707) 2024-04-29 20:53:15 +00:00
new.tmpl Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
repositories.tmpl Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00
sidebar.tmpl Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
teams.tmpl Refactor Safe modifier (#29392) 2024-02-25 10:45:56 +00:00