Merge pull request #2761 from soudy/grey-out-merge-commit

Grey out merge commits
tokarchuk/v1.17
Unknwon 9 years ago
commit 6530375dbf
  1. 4
      templates/repo/commits_table.tmpl

@ -35,7 +35,9 @@
<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>
<td class="message collapsing has-emoji">
<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> <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