Skip to content

Commit f32bf90

Browse files
Right-align status icon on pull request commit history (#11594)
Co-authored-by: techknowlogick <[email protected]>
1 parent f2a0be1 commit f32bf90

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/repo/commits_list_small.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
{{end}}
1414

1515
<span class="ui float right shabox">
16+
{{if eq (CommitType .) "SignCommitWithStatuses"}}
17+
{{template "repo/commit_status" .Status}}
18+
{{end}}
1619
{{$class := "ui sha label"}}
1720
{{if .Signature}}
1821
{{$class = (printf "%s%s" $class " isSigned")}}
@@ -48,9 +51,6 @@
4851
{{if IsMultilineCommitMessage .Message}}
4952
<button class="basic compact mini ui icon button commit-button"><i class="ellipsis horizontal icon"></i></button>
5053
{{end}}
51-
{{if eq (CommitType .) "SignCommitWithStatuses"}}
52-
{{template "repo/commit_status" .Status}}
53-
{{end}}
5454
{{if IsMultilineCommitMessage .Message}}
5555
<pre class="commit-body" style="display: none;">{{RenderCommitBody .Message ($.Issue.PullRequest.BaseRepo.Link|Escape) $.Issue.PullRequest.BaseRepo.ComposeMetas}}</pre>
5656
{{end}}

0 commit comments

Comments
 (0)