mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Added create issue
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user