You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/routers
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.
1 year ago
..
api Add user webhooks (#21563) 1 year ago
common Support sanitising the URL by removing extra slashes in the URL (#21333) 1 year ago
install Set `X-Gitea-Debug` header once (#23361) 1 year ago
private Use context parameter in services/repository (#23186) 1 year ago
utils Implement FSFE REUSE for golang files (#21840) 2 years ago
web Add missing tabs to org projects page (#22705) 1 year ago
init.go Refactor `setting.Database.UseXXX` to methods (#23354) 1 year ago