mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-03 09:52:26 +02:00
show apapiurl in repo settings
This commit is contained in:
parent
73cf1e3901
commit
976d79044f
4 changed files with 6 additions and 0 deletions
|
@ -575,6 +575,7 @@ func RepoAssignment(ctx *Context) context.CancelFunc {
|
|||
|
||||
ctx.Data["Title"] = owner.Name + "/" + repo.Name
|
||||
ctx.Data["Repository"] = repo
|
||||
ctx.Data["RepositoryAPAPIURL"] = repo.APAPIURL()
|
||||
ctx.Data["Owner"] = ctx.Repo.Repository.Owner
|
||||
ctx.Data["IsRepositoryOwner"] = ctx.Repo.IsOwner()
|
||||
ctx.Data["IsRepositoryAdmin"] = ctx.Repo.IsAdmin()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue