1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-05 17:18:21 +00:00

Render emojis in more places.

This commit is contained in:
Andrey Nering
2016-03-02 21:18:58 -03:00
parent 37ac743da7
commit 13e71acadf
11 changed files with 24 additions and 19 deletions

View File

@@ -24,7 +24,7 @@
{{end}}
</h4>
<div class="ui attached table segment">
<div class="file-view {{if .ReadmeExist}}markdown{{else if .IsFileText}}code-view{{end}}">
<div class="file-view {{if .ReadmeExist}}markdown{{else if .IsFileText}}code-view{{end}} has-emoji">
{{if .ReadmeExist}}
{{if .FileContent}}{{.FileContent | Str2html}}{{end}}
{{else if not .IsFileText}}