Add data to ui
This commit is contained in:
parent
cb80111e89
commit
e8a49c7746
2 changed files with 6 additions and 5 deletions
|
@ -70,6 +70,7 @@ func RepoAssignment(redirect bool) martini.Handler {
|
|||
}
|
||||
ctx.Repo.Repository = repo
|
||||
ctx.Repo.CloneLink.SSH = fmt.Sprintf("git@%s:%s/%s.git", base.Domain, user.LowerName, repo.LowerName)
|
||||
ctx.Repo.CloneLink.HTTPS = fmt.Sprintf("https://%s/%s/%s.git", base.Domain, user.LowerName, repo.LowerName)
|
||||
|
||||
ctx.Data["IsRepositoryValid"] = true
|
||||
ctx.Data["Repository"] = repo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue