diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/commits_table.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl index e13cc21089..c1ec61ba6e 100644 --- a/templates/repo/commits_table.tmpl +++ b/templates/repo/commits_table.tmpl @@ -35,7 +35,12 @@ <img class="ui avatar image" src="{{AvatarLink .Author.Email}}" alt=""/> {{.Author.Name}} {{end}} </td> + + {{if gt .ParentCount 1}} + <td class="message collapsing has-emoji grey text"> + {{else}} <td class="message collapsing has-emoji"> + {{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> |