Browse Source

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

Grey out merge commits
for-closed-social
Unknwon 8 years ago
parent
commit
6530375dbf
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      templates/repo/commits_table.tmpl

+ 3
- 1
templates/repo/commits_table.tmpl View File

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