]> source.dussan.org Git - gitea.git/commit
Allow emoji short code in labels (#11250)
authormrsdizzie <info@mrsdizzie.com>
Thu, 30 Apr 2020 08:10:15 +0000 (04:10 -0400)
committerGitHub <noreply@github.com>
Thu, 30 Apr 2020 08:10:15 +0000 (09:10 +0100)
commita2683e5ddb65c4fb4455872cbf377b59dba14f86
treea5dfcfd0da878d1c6925c55760d530c99b46549e
parent310699bca71f15cc7b46363800574ba6e74d8c5c
Allow emoji short code in labels (#11250)

* Allow emoji short code in labels

As title, turn :alias: type short code into emojis when rendering labels to match previous behavior

* Update models/issue_label.go

Co-Authored-By: John Olheiser <john.olheiser@gmail.com>
* render text in templates not code

* remove has-emoji class

🧙‍♀️

* fix new issue form

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
templates/repo/issue/labels/label_list.tmpl
templates/repo/issue/list.tmpl
templates/repo/issue/new_form.tmpl
templates/repo/issue/view_content/comments.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/user/dashboard/issues.tmpl