diff options
author | mrsdizzie <info@mrsdizzie.com> | 2020-05-01 13:58:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 20:58:45 +0300 |
commit | 4ed7d2a2bbb421e37cc0bc23a9f997e5606258ea (patch) | |
tree | 64624ce36c5a8fcffe66ce5854e39cd22d228956 /templates/repo/issue/view_content/comments.tmpl | |
parent | 1bdffefc052fca440b1d4b59a5e6d402f0836374 (diff) | |
download | gitea-4ed7d2a2bbb421e37cc0bc23a9f997e5606258ea.tar.gz gitea-4ed7d2a2bbb421e37cc0bc23a9f997e5606258ea.zip |
Remove last traces of has-emoji class (#11263)
Now that emojify.js has been removed, get rid of all instances of has-emoji class that was only used for that. Support for rendering shortcodes should remain in all of these places so it should still work the same.
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'templates/repo/issue/view_content/comments.tmpl')
-rw-r--r-- | templates/repo/issue/view_content/comments.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index a3b4fb81e0..99884a6796 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -43,7 +43,7 @@ {{end}} </div> <div class="ui attached segment"> - <div class="render-content markdown has-emoji"> + <div class="render-content markdown"> {{if .RenderedContent}} {{.RenderedContent|Str2html}} {{else}} @@ -163,7 +163,7 @@ </a> <span class="text grey"> <a class="author" href="{{.Poster.HomeLink}}">{{.Poster.GetDisplayName}}</a> - {{if .Content}}{{$.i18n.Tr "repo.issues.add_label_at" .Label.ForegroundColor .Label.Color (.Label.Name|Escape|RenderEmojiPlain) $createdStr | Safe}}{{else}}{{$.i18n.Tr "repo.issues.remove_label_at" .Label.ForegroundColor .Label.Color (.Label.Name|Escape|RenderEmojiPlain) $createdStr | Safe}}{{end}} + {{if .Content}}{{$.i18n.Tr "repo.issues.add_label_at" .Label.ForegroundColor .Label.Color (.Label.Name|Escape|RenderEmoji) $createdStr | Safe}}{{else}}{{$.i18n.Tr "repo.issues.remove_label_at" .Label.ForegroundColor .Label.Color (.Label.Name|Escape|RenderEmoji) $createdStr | Safe}}{{end}} </span> </div> {{end}} @@ -412,7 +412,7 @@ </span> </div> <div class="ui attached segment"> - <div class="render-content markdown has-emoji"> + <div class="render-content markdown"> {{if .RenderedContent}} {{.RenderedContent|Str2html}} {{else}} @@ -483,7 +483,7 @@ <a class="author"{{if gt .Poster.ID 0}} href="{{.Poster.HomeLink}}"{{end}}>{{.Poster.GetDisplayName}}</a> {{$.i18n.Tr "repo.issues.commented_at" .HashTag $createdSubStr | Safe}} <div class="text"> - <div class="render-content markdown has-emoji"> + <div class="render-content markdown"> {{if .RenderedContent}} {{.RenderedContent|Str2html}} {{else}} |