summaryrefslogtreecommitdiffstats
path: root/templates/repo/view_file.tmpl
diff options
context:
space:
mode:
authorAndrey Nering <andrey.nering@gmail.com>2016-03-02 21:18:58 -0300
committerAndrey Nering <andrey.nering@gmail.com>2016-03-02 21:54:05 -0300
commit13e71acadf538124724c24b6332e4fa8a59baadb (patch)
treef49edfe271408ae5cc6cd3275e64512a2312d780 /templates/repo/view_file.tmpl
parent37ac743da7ba2931dfaaa947bf73ed55534e6f29 (diff)
downloadgitea-13e71acadf538124724c24b6332e4fa8a59baadb.tar.gz
gitea-13e71acadf538124724c24b6332e4fa8a59baadb.zip
Render emojis in more places.
Diffstat (limited to 'templates/repo/view_file.tmpl')
-rw-r--r--templates/repo/view_file.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl
index 44fc44913e..f41e485cad 100644
--- a/templates/repo/view_file.tmpl
+++ b/templates/repo/view_file.tmpl
@@ -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}}