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

Signed-off-by: Stephen Brown <steve@evolvedlight.co.uk>
This commit is contained in:
Stephen Brown 2017-02-06 16:24:59 +01:00 committed by Lunny Xiao
parent 71d35dae8c
commit 94130da63a

View file

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