0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 07:44:18 +01:00

Put if statement of grey merge commits on one line

This commit is contained in:
Steven Oud 2016-03-05 17:59:07 +01:00
parent a0cd59bd0e
commit 1d3ec27cb7

View file

@ -36,11 +36,8 @@
{{end}}
</td>
{{if gt .ParentCount 1}}
<td class="message collapsing has-emoji grey text">
{{else}}
<td class="message collapsing has-emoji">
{{end}}
<td class="message collapsing has-emoji {{if gt .ParentCount 1}} grey text {{end}}">
<a rel="nofollow" class="ui sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{.ID}}">{{ShortSha .ID.String}}</a>
{{RenderCommitMessage false .Summary $.RepoLink $.Repository.ComposeMetas}}
</td>