Grey out merge commits

tokarchuk/v1.17
Steven Oud 9 years ago
parent a2f13eae55
commit a0cd59bd0e
  1. 5
      templates/repo/commits_table.tmpl

@ -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>

Loading…
Cancel
Save