1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Show review summary in pull requests (#5132)

This commit is contained in:
kolaente
2018-11-22 14:17:36 +01:00
committed by Lauris BH
parent cef0f12c51
commit 0dcf31ae49
8 changed files with 179 additions and 2 deletions

View File

@@ -802,6 +802,12 @@ func ViewIssue(ctx *context.Context) {
}
}
ctx.Data["IsPullBranchDeletable"] = canDelete && pull.HeadRepo != nil && git.IsBranchExist(pull.HeadRepo.RepoPath(), pull.HeadBranch)
ctx.Data["PullReviewersWithType"], err = models.GetReviewersByPullID(issue.ID)
if err != nil {
ctx.ServerError("GetReviewersByPullID", err)
return
}
}
// Get Dependencies