From 4a685f8b872a3d4c101c5e8165fa99e696c8fb45 Mon Sep 17 00:00:00 2001 From: Julian Date: Thu, 27 Dec 2018 11:27:08 +0100 Subject: Add rebase with merge commit merge style (#3844) (#4052) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julian Tölle --- templates/repo/issue/view_content/pull.tmpl | 27 ++++++++++++++++++++++++++- templates/repo/settings/options.tmpl | 6 ++++++ 2 files changed, 32 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/repo/issue/view_content/pull.tmpl b/templates/repo/issue/view_content/pull.tmpl index 5edde9051f..72808d089b 100644 --- a/templates/repo/issue/view_content/pull.tmpl +++ b/templates/repo/issue/view_content/pull.tmpl @@ -86,7 +86,7 @@ {{if .AllowMerge}} {{$prUnit := .Repository.MustGetUnit $.UnitTypePullRequests}} - {{if or $prUnit.PullRequestsConfig.AllowMerge $prUnit.PullRequestsConfig.AllowRebase $prUnit.PullRequestsConfig.AllowSquash}} + {{if or $prUnit.PullRequestsConfig.AllowMerge $prUnit.PullRequestsConfig.AllowRebase $prUnit.PullRequestsConfig.AllowRebaseMerge $prUnit.PullRequestsConfig.AllowSquash}}
{{if $prUnit.PullRequestsConfig.AllowMerge}} {{end}} + {{if $prUnit.PullRequestsConfig.AllowRebaseMerge}} + + {{end}} {{if $prUnit.PullRequestsConfig.AllowSquash}} +
+
+ + +
+
-- cgit v1.2.3