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