We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 483ee56 commit df7e5b7Copy full SHA for df7e5b7
routers/repo/issue.go
@@ -665,9 +665,9 @@ func ViewIssue(ctx *context.Context) {
665
pull := issue.PullRequest
666
ctx.Data["IsPullBranchDeletable"] = ctx.Repo.IsWriter() && ctx.Repo.GitRepo.IsBranchExist(pull.HeadBranch)
667
668
- deleteBranchUrl := ctx.Repo.RepoLink + "/branches/" + pull.HeadBranch + "/delete"
+ deleteBranchURL := ctx.Repo.RepoLink + "/branches/" + pull.HeadBranch + "/delete"
669
queryParams := "?redirect_to=" + ctx.Data["Link"].(string)
670
- ctx.Data["DeleteBranchLink"] = deleteBranchUrl + queryParams
+ ctx.Data["DeleteBranchLink"] = deleteBranchURL + queryParams
671
}
672
673
ctx.Data["Participants"] = participants
0 commit comments