diff options
author | kolaente <konrad@kola-entertainments.de> | 2018-11-22 14:17:36 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2018-11-22 15:17:36 +0200 |
commit | 0dcf31ae49707c10c1b14e112e0831e920cb6e16 (patch) | |
tree | fae417a40cfad5dc19d625e797628cc5c6ebbb8f /routers | |
parent | cef0f12c51cee9edeb636fd2174f8d4eb00ea955 (diff) | |
download | gitea-0dcf31ae49707c10c1b14e112e0831e920cb6e16.tar.gz gitea-0dcf31ae49707c10c1b14e112e0831e920cb6e16.zip |
Show review summary in pull requests (#5132)
Diffstat (limited to 'routers')
-rw-r--r-- | routers/repo/issue.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 3bcfdf1b04..08bdf311f9 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -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 |