mirror of
https://github.com/gogs/gogs.git
synced 2025-12-20 15:20:01 +01:00
* Can disable GIT interactions by HTTP protocol * rename variable + fix wiki link * missing space
This commit is contained in:
@@ -256,6 +256,7 @@ func RepoAssignment(args ...bool) macaron.Handler {
|
||||
ctx.Data["IsRepositoryWriter"] = ctx.Repo.IsWriter()
|
||||
|
||||
ctx.Data["DisableSSH"] = setting.SSH.Disabled
|
||||
ctx.Data["DisableHTTP"] = setting.Repository.DisableHTTPGit
|
||||
ctx.Data["CloneLink"] = repo.CloneLink()
|
||||
ctx.Data["WikiCloneLink"] = repo.WikiCloneLink()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user