aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/issue
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-07-01 12:08:43 +0800
committertechknowlogick <techknowlogick@gitea.io>2019-07-01 00:08:43 -0400
commit1772c6b94d8e1a574d29643a33f1c0dbc0fdbe6f (patch)
tree21691d0ef6919454eedd6e81ff21f501a053b6ee /templates/repo/issue
parent9c6af9d2bb6a173fac51a58415e69665c550d7fa (diff)
downloadgitea-1772c6b94d8e1a574d29643a33f1c0dbc0fdbe6f.tar.gz
gitea-1772c6b94d8e1a574d29643a33f1c0dbc0fdbe6f.zip
fix pull view ui merge section (#7335)
* fix pull view ui merge section * fix tests * fix tests
Diffstat (limited to 'templates/repo/issue')
-rw-r--r--templates/repo/issue/view_content/pull.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/pull.tmpl b/templates/repo/issue/view_content/pull.tmpl
index caadba41c7..7bb3c91275 100644
--- a/templates/repo/issue/view_content/pull.tmpl
+++ b/templates/repo/issue/view_content/pull.tmpl
@@ -46,7 +46,7 @@
{{else}}red{{end}}"><span class="mega-octicon octicon-git-merge"></span></a>
<div class="content">
{{template "repo/pulls/status" .}}
- <div class="ui attached merge-section segment">
+ <div class="ui {{if not $.LatestCommitStatus}}top attached header{{else}}attached merge-section segment{{end}}">
{{if .Issue.PullRequest.HasMerged}}
<div class="item text purple">
{{$.i18n.Tr "repo.pulls.has_merged"}}