From c5ff01daacc7d86fdd0c255a974d5d10f5227627 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Sep 03 2019 12:17:45 +0000 Subject: Tweak when we show the merge and the rebase buttons Only show the merge button when the user is a committer of the project against which the PR is opened. Show the rebase button when the user is allowed to rebase the PR or has commit to the project the PR originates from. Fixes https://pagure.io/pagure/issue/4596 Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/templates/repo_pull_request.html b/pagure/templates/repo_pull_request.html index ae6a174..e012de2 100644 --- a/pagure/templates/repo_pull_request.html +++ b/pagure/templates/repo_pull_request.html @@ -182,24 +182,26 @@