forked from forgejo/forgejo
Added create issue
This commit is contained in:
parent
23d103c721
commit
2fa8d0c8dd
14 changed files with 34 additions and 52 deletions
|
@ -76,6 +76,11 @@ func RepoAssignment(redirect bool) martini.Handler {
|
|||
ctx.Repo.CloneLink.SSH = fmt.Sprintf("%s@%s:%s/%s.git", base.RunUser, base.Domain, user.LowerName, repo.LowerName)
|
||||
ctx.Repo.CloneLink.HTTPS = fmt.Sprintf("%s://%s/%s/%s.git", scheme, base.Domain, user.LowerName, repo.LowerName)
|
||||
|
||||
if len(params["branchname"]) == 0 {
|
||||
params["branchname"] = "master"
|
||||
}
|
||||
ctx.Data["Branchname"] = params["branchname"]
|
||||
|
||||
ctx.Data["IsRepositoryValid"] = true
|
||||
ctx.Data["Repository"] = repo
|
||||
ctx.Data["Owner"] = user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue