summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/commits_list_small.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/commits_list_small.tmpl b/templates/repo/commits_list_small.tmpl
index fa564ca86b..e5634bbad2 100644
--- a/templates/repo/commits_list_small.tmpl
+++ b/templates/repo/commits_list_small.tmpl
@@ -13,6 +13,9 @@
{{end}}
<span class="ui float right shabox">
+ {{if eq (CommitType .) "SignCommitWithStatuses"}}
+ {{template "repo/commit_status" .Status}}
+ {{end}}
{{$class := "ui sha label"}}
{{if .Signature}}
{{$class = (printf "%s%s" $class " isSigned")}}
@@ -48,9 +51,6 @@
{{if IsMultilineCommitMessage .Message}}
<button class="basic compact mini ui icon button commit-button"><i class="ellipsis horizontal icon"></i></button>
{{end}}
- {{if eq (CommitType .) "SignCommitWithStatuses"}}
- {{template "repo/commit_status" .Status}}
- {{end}}
{{if IsMultilineCommitMessage .Message}}
<pre class="commit-body" style="display: none;">{{RenderCommitBody .Message ($.Issue.PullRequest.BaseRepo.Link|Escape) $.Issue.PullRequest.BaseRepo.ComposeMetas}}</pre>
{{end}}