Show review summary in pull requests (#5132)

This commit is contained in:
kolaente authored and Lauris BH committed 2018-11-22 15:17:36 +02:00
1 parent cef0f12c51
commit 0dcf31ae49
8 files changed
+179 -2

No files matched your search

+6
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