forgejo/services
yp05327 cf29ee6dd2
Add missing tabs to org projects page (#22705)
Fixes https://github.com/go-gitea/gitea/issues/22676

Context Data `IsOrganizationMember` and `IsOrganizationOwner` is used to
control the visibility of `people` and `team` tab.

2871ea0809/templates/org/menu.tmpl (L19-L40)

And because of the reuse of user projects page, User Context is changed
to Organization Context. But the value of `IsOrganizationMember` and
`IsOrganizationOwner` are not being given.

I reused func `HandleOrgAssignment` to add them to the ctx, but may have
some unnecessary variables, idk whether it is ok.

I found there is a missing `PageIsViewProjects` at create project page.
2023-03-10 09:18:20 -06:00
..
actions Avoid panic caused by broken payload when creating commit status (#23216) 2023-03-04 02:12:37 -05:00
agit
asymkey
attachment
auth Handle OpenID discovery URL errors a little nicer when creating/editing sources (#23397) 2023-03-10 01:14:43 -05:00
automerge
context Add missing tabs to org projects page (#22705) 2023-03-10 09:18:20 -06:00
convert
cron
externalaccount
forms Make Ctrl+Enter submit a pending comment (starting review) instead of submitting a single comment (#23245) 2023-03-04 02:13:37 -05:00
gitdiff Fix broken code editor diff preview (#23307) 2023-03-06 09:37:58 +08:00
issue
lfs
mailer Make Ctrl+Enter submit a pending comment (starting review) instead of submitting a single comment (#23245) 2023-03-04 02:13:37 -05:00
markup
migrations Use CleanPath instead of path.Clean (#23371) 2023-03-08 20:17:39 +08:00
mirror Fill head commit to in payload when notifying push commits for mirroring (#23215) 2023-03-03 23:45:53 -05:00
org
packages Use CleanPath instead of path.Clean (#23371) 2023-03-08 20:17:39 +08:00
pull Improve squash merge commit author and co-author with private emails (#22977) 2023-03-09 22:17:04 -05:00
release
repository Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00
task
user
webhook Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00
wiki