Grey out merge commits

This commit is contained in:
Steven Oud 2016-03-05 17:00:38 +01:00
parent a2f13eae55
commit a0cd59bd0e
1 changed files with 5 additions and 0 deletions

View File

@ -35,7 +35,12 @@
<img class="ui avatar image" src="{{AvatarLink .Author.Email}}" alt=""/>&nbsp;&nbsp;{{.Author.Name}} <img class="ui avatar image" src="{{AvatarLink .Author.Email}}" alt=""/>&nbsp;&nbsp;{{.Author.Name}}
{{end}} {{end}}
</td> </td>
{{if gt .ParentCount 1}}
<td class="message collapsing has-emoji grey text">
{{else}}
<td class="message collapsing has-emoji"> <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>