mirror of
https://github.com/go-gitea/gitea
synced 2025-07-08 19:47:21 +00:00
Post work for #2637
Improve test cases, config settings, also show SSH config settings on admin config panel.
This commit is contained in:
@ -169,7 +169,7 @@ func RepoAssignment(args ...bool) macaron.Handler {
|
||||
ctx.Data["IsRepositoryPusher"] = ctx.Repo.IsPusher()
|
||||
ctx.Data["CanPullRequest"] = ctx.Repo.IsAdmin() && repo.BaseRepo != nil && repo.BaseRepo.AllowsPulls()
|
||||
|
||||
ctx.Data["DisableSSH"] = setting.DisableSSH
|
||||
ctx.Data["DisableSSH"] = setting.SSH.Disabled
|
||||
ctx.Data["CloneLink"] = repo.CloneLink()
|
||||
ctx.Data["WikiCloneLink"] = repo.WikiCloneLink()
|
||||
|
||||
|
Reference in New Issue
Block a user