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/activity.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/activity.tmpl')
-rw-r--r-- | templates/repo/activity.tmpl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/repo/activity.tmpl b/templates/repo/activity.tmpl index c11a841b2d..41f6be6430 100644 --- a/templates/repo/activity.tmpl +++ b/templates/repo/activity.tmpl @@ -129,7 +129,7 @@ <div class="ui green label">{{$.i18n.Tr "repo.activity.published_release_label"}}</div> {{.TagName}} {{if not .IsTag}} - <a class="title has-emoji" href="{{$.RepoLink}}/src/{{.TagName | EscapePound}}">{{.Title}}</a> + <a class="title" href="{{$.RepoLink}}/src/{{.TagName | EscapePound}}">{{.Title | RenderEmoji}}</a> {{end}} {{TimeSinceUnix .CreatedUnix $.Lang}} </p> @@ -146,7 +146,7 @@ {{range .Activity.MergedPRs}} <p class="desc"> <div class="ui purple label">{{$.i18n.Tr "repo.activity.merged_prs_label"}}</div> - #{{.Index}} <a class="title has-emoji" href="{{$.RepoLink}}/pulls/{{.Index}}">{{.Issue.Title}}</a> + #{{.Index}} <a class="title" href="{{$.RepoLink}}/pulls/{{.Index}}">{{.Issue.Title | RenderEmoji}}</a> {{TimeSinceUnix .MergedUnix $.Lang}} </p> {{end}} @@ -162,7 +162,7 @@ {{range .Activity.OpenedPRs}} <p class="desc"> <div class="ui green label">{{$.i18n.Tr "repo.activity.opened_prs_label"}}</div> - #{{.Index}} <a class="title has-emoji" href="{{$.RepoLink}}/pulls/{{.Index}}">{{.Issue.Title}}</a> + #{{.Index}} <a class="title" href="{{$.RepoLink}}/pulls/{{.Index}}">{{.Issue.Title | RenderEmoji}}</a> {{TimeSinceUnix .Issue.CreatedUnix $.Lang}} </p> {{end}} @@ -178,7 +178,7 @@ {{range .Activity.ClosedIssues}} <p class="desc"> <div class="ui red label">{{$.i18n.Tr "repo.activity.closed_issue_label"}}</div> - #{{.Index}} <a class="title has-emoji" href="{{$.RepoLink}}/issues/{{.Index}}">{{.Title}}</a> + #{{.Index}} <a class="title" href="{{$.RepoLink}}/issues/{{.Index}}">{{.Title | RenderEmoji}}</a> {{TimeSinceUnix .ClosedUnix $.Lang}} </p> {{end}} @@ -194,7 +194,7 @@ {{range .Activity.OpenedIssues}} <p class="desc"> <div class="ui green label">{{$.i18n.Tr "repo.activity.new_issue_label"}}</div> - #{{.Index}} <a class="title has-emoji" href="{{$.RepoLink}}/issues/{{.Index}}">{{.Title}}</a> + #{{.Index}} <a class="title" href="{{$.RepoLink}}/issues/{{.Index}}">{{.Title | RenderEmoji}}</a> {{TimeSinceUnix .CreatedUnix $.Lang}} </p> {{end}} @@ -215,9 +215,9 @@ <div class="ui green label">{{$.i18n.Tr "repo.activity.unresolved_conv_label"}}</div> #{{.Index}} {{if .IsPull}} - <a class="title has-emoji" href="{{$.RepoLink}}/pulls/{{.Index}}">{{.Title}}</a> + <a class="title" href="{{$.RepoLink}}/pulls/{{.Index}}">{{.Title | RenderEmoji}}</a> {{else}} - <a class="title has-emoji" href="{{$.RepoLink}}/issues/{{.Index}}">{{.Title}}</a> + <a class="title" href="{{$.RepoLink}}/issues/{{.Index}}">{{.Title | RenderEmoji}}</a> {{end}} {{TimeSinceUnix .UpdatedUnix $.Lang}} </p> |