mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-01 05:36:19 +01:00
Put if statement of grey merge commits on one line
This commit is contained in:
parent
a0cd59bd0e
commit
1d3ec27cb7
1 changed files with 2 additions and 5 deletions
|
@ -36,11 +36,8 @@
|
||||||
{{end}}
|
{{end}}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
{{if gt .ParentCount 1}}
|
|
||||||
<td class="message collapsing has-emoji grey text">
|
<td class="message collapsing has-emoji {{if gt .ParentCount 1}} grey text {{end}}">
|
||||||
{{else}}
|
|
||||||
<td class="message collapsing has-emoji">
|
|
||||||
{{end}}
|
|
||||||
<a rel="nofollow" class="ui sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{.ID}}">{{ShortSha .ID.String}}</a>
|
<a rel="nofollow" class="ui sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{.ID}}">{{ShortSha .ID.String}}</a>
|
||||||
{{RenderCommitMessage false .Summary $.RepoLink $.Repository.ComposeMetas}}
|
{{RenderCommitMessage false .Summary $.RepoLink $.Repository.ComposeMetas}}
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in a new issue