From f32bf902e726449ce0ff8559af5f03995307951d Mon Sep 17 00:00:00 2001 From: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> Date: Mon, 25 May 2020 15:51:13 +0200 Subject: [PATCH] Right-align status icon on pull request commit history (#11594) Co-authored-by: techknowlogick --- templates/repo/commits_list_small.tmpl | 6 +++--- 1 file 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}} + {{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}} {{end}} - {{if eq (CommitType .) "SignCommitWithStatuses"}} - {{template "repo/commit_status" .Status}} - {{end}} {{if IsMultilineCommitMessage .Message}} {{end}}