mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-18 17:00:02 +02:00
#3233 code cleanup and minor issue fix
This commit is contained in:
parent
0885784f13
commit
5077408d78
11 changed files with 55 additions and 81 deletions
|
@ -223,7 +223,6 @@ func RepoAssignment(args ...bool) macaron.Handler {
|
|||
ctx.Data["IsRepositoryOwner"] = ctx.Repo.IsOwner()
|
||||
ctx.Data["IsRepositoryAdmin"] = ctx.Repo.IsAdmin()
|
||||
ctx.Data["IsRepositoryWriter"] = ctx.Repo.IsWriter()
|
||||
ctx.Data["IsRepositoryMirror"] = repo.IsMirror
|
||||
|
||||
ctx.Data["DisableSSH"] = setting.SSH.Disabled
|
||||
ctx.Data["CloneLink"] = repo.CloneLink()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue