浏览代码

Right-align status icon on pull request commit history (#11594)

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
tags/v1.13.0-rc1
Cirno the Strongest 4 年前
父节点
当前提交
f32bf902e7
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      templates/repo/commits_list_small.tmpl

+ 3
- 3
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}}

正在加载...
取消
保存