-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
Signed-off-by: Stephen Brown <steve@evolvedlight.co.uk>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,9 +41,9 @@ | |
{{end}} | ||
</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> | ||
<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> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ralphtheninja
|
||
</td> | ||
<td class="grey text right aligned">{{TimeSince .Author.When $.Lang}}</td> | ||
</tr> | ||
|
5 comments
on commit 94130da
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not currently. It uses http://hassankhan.me/emojify.js/ and all the emojis are in https://github.com/go-gitea/gitea/tree/master/public/img/emoji. I guess it'd be possible to extend this in a custom way but I don't think this currently exists.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the emojis built into the go binary somehow?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@evolvedlight Thanks! :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But with 1.1.0 you will be able to extend/overwrite the public folder, just put the files into custom/public/img/emoji
and the files will be served, but I don't know how emojify.js can handle these additional images.
👍