diff options
author | Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> | 2020-05-25 15:51:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-25 09:51:13 -0400 |
commit | f32bf902e726449ce0ff8559af5f03995307951d (patch) | |
tree | 7d986a37ad047ac2154951ffc598cd3b40b7a1e3 /templates | |
parent | f2a0be1683daf3330a7c94fa65300e7056e9bc98 (diff) | |
download | gitea-f32bf902e726449ce0ff8559af5f03995307951d.tar.gz gitea-f32bf902e726449ce0ff8559af5f03995307951d.zip |
Right-align status icon on pull request commit history (#11594)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/commits_list_small.tmpl | 6 |
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}} |