<div class="item{{ifeq.MergeStyle"merge"}} active selected{{end}}" data-do="merge">{{$.i18n.Tr"repo.pulls.merge_pull_request"}}</div>
{{if$prUnit.PullRequestsConfig.AllowMerge}}
{{end}}
<div class="item{{ifeq.MergeStyle"merge"}} active selected{{end}}" data-do="merge">{{$.i18n.Tr"repo.pulls.merge_pull_request"}}</div>
{{if$prUnit.PullRequestsConfig.AllowRebase}}
{{end}}
<div class="item{{ifeq.MergeStyle"rebase"}} active selected{{end}}" data-do="rebase">{{$.i18n.Tr"repo.pulls.rebase_merge_pull_request"}}</div>
{{if$prUnit.PullRequestsConfig.AllowRebase}}
{{end}}
<div class="item{{ifeq.MergeStyle"rebase"}} active selected{{end}}" data-do="rebase">{{$.i18n.Tr"repo.pulls.rebase_merge_pull_request"}}</div>
{{if$prUnit.PullRequestsConfig.AllowRebaseMerge}}
{{end}}
<div class="item{{ifeq.MergeStyle"rebase-merge"}} active selected{{end}}" data-do="rebase-merge">{{$.i18n.Tr"repo.pulls.rebase_merge_commit_pull_request"}}</div>
{{if$prUnit.PullRequestsConfig.AllowRebaseMerge}}
{{end}}
<div class="item{{ifeq.MergeStyle"rebase-merge"}} active selected{{end}}" data-do="rebase-merge">{{$.i18n.Tr"repo.pulls.rebase_merge_commit_pull_request"}}</div>
{{if$prUnit.PullRequestsConfig.AllowSquash}}
{{end}}
<div class="item{{ifeq.MergeStyle"squash"}} active selected{{end}}" data-do="squash">{{$.i18n.Tr"repo.pulls.squash_merge_pull_request"}}</div>
{{if$prUnit.PullRequestsConfig.AllowSquash}}
{{end}}
<div class="item{{ifeq.MergeStyle"squash"}} active selected{{end}}" data-do="squash">{{$.i18n.Tr"repo.pulls.squash_merge_pull_request"}}</div>