aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorRakshith Ravi <rakshith.ravi@gmx.com>2020-12-14 15:36:58 +0530
committerGitHub <noreply@github.com>2020-12-14 11:06:58 +0100
commit729f0f5f7ba98e9472d69f30a6c9433039f5e0a0 (patch)
treeee7d14ec1f278a377bb325abeecbf29121c2710f /templates
parent633dc80077140f141861b779698881efffca52f7 (diff)
downloadgitea-729f0f5f7ba98e9472d69f30a6c9433039f5e0a0.tar.gz
gitea-729f0f5f7ba98e9472d69f30a6c9433039f5e0a0.zip
Add emoji in label to project boards (#13978)
* Update view.tmpl Added rendering of emoji to project label * Add RenderEmojiPlain to the title and remove has-emoji Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/projects/view.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/projects/view.tmpl b/templates/repo/projects/view.tmpl
index dcc43d0202..b27773f710 100644
--- a/templates/repo/projects/view.tmpl
+++ b/templates/repo/projects/view.tmpl
@@ -160,7 +160,7 @@
</div>
<div class="extra content">
{{ range .Labels }}
- <a class="ui label has-emoji" href="{{$.RepoLink}}/issues?labels={{.ID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}; margin-bottom: 3px;" title="{{.Description}}">{{.Name}}</a>
+ <a class="ui label" href="{{$.RepoLink}}/issues?labels={{.ID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}; margin-bottom: 3px;" title="{{.Description | RenderEmojiPlain}}">{{.Name | RenderEmoji}}</a>
{{ end }}
</div>
</div>