summaryrefslogtreecommitdiffstats
path: root/templates/repo/view_list.tmpl
diff options
context:
space:
mode:
authormrsdizzie <info@mrsdizzie.com>2020-05-01 13:58:45 -0400
committerGitHub <noreply@github.com>2020-05-01 20:58:45 +0300
commit4ed7d2a2bbb421e37cc0bc23a9f997e5606258ea (patch)
tree64624ce36c5a8fcffe66ce5854e39cd22d228956 /templates/repo/view_list.tmpl
parent1bdffefc052fca440b1d4b59a5e6d402f0836374 (diff)
downloadgitea-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/view_list.tmpl')
-rw-r--r--templates/repo/view_list.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl
index 9e77a4866c..2add12577d 100644
--- a/templates/repo/view_list.tmpl
+++ b/templates/repo/view_list.tmpl
@@ -40,7 +40,7 @@
</a>
{{template "repo/commit_status" .LatestCommitStatus}}
{{ $commitLink:= printf "%s/commit/%s" .RepoLink .LatestCommit.ID }}
- <span class="grey has-emoji commit-summary" title="{{.LatestCommit.Summary}}"><span class="message-wrapper">{{RenderCommitMessageLinkSubject .LatestCommit.Message $.RepoLink $commitLink $.Repository.ComposeMetas}}</span>
+ <span class="grey commit-summary" title="{{.LatestCommit.Summary}}"><span class="message-wrapper">{{RenderCommitMessageLinkSubject .LatestCommit.Message $.RepoLink $commitLink $.Repository.ComposeMetas}}</span>
{{if IsMultilineCommitMessage .LatestCommit.Message}}
<button class="basic compact mini ui icon button commit-button"><i class="ellipsis horizontal icon"></i></button>
<pre class="commit-body" style="display: none;">{{RenderCommitBody .LatestCommit.Message $.RepoLink $.Repository.ComposeMetas}}</pre>
@@ -94,8 +94,8 @@
</td>
{{end}}
<td class="message nine wide">
- <span class="truncate has-emoji">
- <a href="{{$.RepoLink}}/commit/{{$commit.ID}}" title="{{$commit.Summary}}">{{$commit.Summary}}</a>
+ <span class="truncate">
+ <a href="{{$.RepoLink}}/commit/{{$commit.ID}}" title="{{$commit.Summary}}">{{$commit.Summary | RenderEmoji}}</a>
</span>
</td>
<td class="text right age three wide">{{TimeSince $commit.Committer.When $.Lang}}</td>