Skip to content

Commit 48a423a

Browse files
authored
Rendoer emoji's of Commit message on feed-page (#12373)
1 parent cc8a7c9 commit 48a423a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/user/dashboard/feeds.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
{{ $repoLink := .GetRepoLink}}
8080
{{if $push.Commits}}
8181
{{range $push.Commits}}
82-
<li><img class="img-8" src="{{$push.AvatarLink .AuthorEmail}}"> <a class="commit-id" href="{{$repoLink}}/commit/{{.Sha1}}">{{ShortSha .Sha1}}</a> <span class="text truncate light grey">{{.Message}}</span></li>
82+
<li><img class="img-8" src="{{$push.AvatarLink .AuthorEmail}}"> <a class="commit-id" href="{{$repoLink}}/commit/{{.Sha1}}">{{ShortSha .Sha1}}</a> <span class="text truncate light grey">{{.Message | RenderEmoji}}</span></li>
8383
{{end}}
8484
{{end}}
8585
{{if and (gt $push.Len 1) $push.CompareURL}}<li><a href="{{AppSubUrl}}/{{$push.CompareURL}}">{{$.i18n.Tr "action.compare_commits" $push.Len}} »</a></li>{{end}}

0 commit comments

Comments
 (0)