summaryrefslogtreecommitdiffstats
path: root/routers/repo/issue_label.go
diff options
context:
space:
mode:
authorJohn Olheiser <42128690+jolheiser@users.noreply.github.com>2019-02-16 11:33:09 -0600
committerLauris BH <lauris@nix.lv>2019-02-16 19:33:09 +0200
commit0b72c00fadcacda920893c991cd858a3d6dd52c7 (patch)
treeb198df05a5d275733f2ff2d6c9d2154c0ac0271d /routers/repo/issue_label.go
parent8c8ac1a16260c075e854bd370812284e0121613e (diff)
downloadgitea-0b72c00fadcacda920893c991cd858a3d6dd52c7.tar.gz
gitea-0b72c00fadcacda920893c991cd858a3d6dd52c7.zip
Allow labels to contain emoji (#6063)
* Add emoji to labels Minor cleanup of tribute code in footer.tmpl Signed-off-by: jolheiser <john.olheiser@gmail.com> * Quick find/replace in other i18n files containing label translations Signed-off-by: jolheiser <john.olheiser@gmail.com> * Revert "Quick find/replace in other i18n files containing label translations" This reverts commit ec3e1a3a1775989301bb2c1cd08e8871b317688d. * Add style to overwrite emoji height in labels * Revert Makefile change that makes Windows work
Diffstat (limited to 'routers/repo/issue_label.go')
-rw-r--r--routers/repo/issue_label.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/issue_label.go b/routers/repo/issue_label.go
index 8631ef0d0b..556a24c33e 100644
--- a/routers/repo/issue_label.go
+++ b/routers/repo/issue_label.go
@@ -22,6 +22,7 @@ func Labels(ctx *context.Context) {
ctx.Data["PageIsIssueList"] = true
ctx.Data["PageIsLabels"] = true
ctx.Data["RequireMinicolors"] = true
+ ctx.Data["RequireTribute"] = true
ctx.Data["LabelTemplates"] = models.LabelTemplates
ctx.HTML(200, tplLabels)
}