Fixes #794 by moving emoji tag to the correct span (#848)

Signed-off-by: Stephen Brown <steve@evolvedlight.co.uk>
tokarchuk/v1.17
Stephen Brown 8 years ago committed by Lunny Xiao
parent 71d35dae8c
commit 94130da63a
  1. 4
      templates/repo/commits_table.tmpl

@ -41,9 +41,9 @@
{{end}} {{end}}
</td> </td>
<td class="message collapsing has-emoji"> <td class="message collapsing">
<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>
<span {{if gt .ParentCount 1}}class="grey text"{{end}}>{{RenderCommitMessage false .Summary $.RepoLink $.Repository.ComposeMetas}}</span> <span class="has-emoji{{if gt .ParentCount 1}} grey text{{end}}">{{RenderCommitMessage false .Summary $.RepoLink $.Repository.ComposeMetas}}</span>
</td> </td>
<td class="grey text right aligned">{{TimeSince .Author.When $.Lang}}</td> <td class="grey text right aligned">{{TimeSince .Author.When $.Lang}}</td>
</tr> </tr>

Loading…
Cancel
Save