mirror of
https://github.com/gogs/gogs.git
synced 2025-05-29 18:53:42 +00:00
ui: fix emoji not rendered in commits table (#4440)
This commit is contained in:
parent
0778d7de80
commit
bf060387af
@ -40,14 +40,14 @@
|
||||
{{end}}
|
||||
</td>
|
||||
|
||||
<td class="message collapsing has-emoji">
|
||||
<td class="message collapsing">
|
||||
{{/* Username or Reponame doesn't present we assume the source repository no longer exists */}}
|
||||
{{if not (and $.Username $.Reponame)}}
|
||||
<span class="ui sha label">{{ShortSHA1 .ID.String}}</span>
|
||||
{{else}}
|
||||
<a rel="nofollow" class="ui sha label" href="{{AppSubURL}}/{{$.Username}}/{{$.Reponame}}/commit/{{.ID}}">{{ShortSHA1 .ID.String}}</a>
|
||||
{{end}}
|
||||
<span {{if gt .ParentCount 1}}class="grey text"{{end}}>{{RenderCommitMessage false .Summary $.RepoLink $.Repository.ComposeMetas}}</span>
|
||||
<span class="{{if gt .ParentCount 1}}grey text {{end}} has-emoji">{{RenderCommitMessage false .Summary $.RepoLink $.Repository.ComposeMetas}}</span>
|
||||
</td>
|
||||
<td class="grey text right aligned">{{TimeSince .Author.When $.Lang}}</td>
|
||||
</tr>
|
||||
|
Loading…
x
Reference in New Issue
Block a user