From 171f9c5eb7f07d82129a72b82ff1870829873f36 Mon Sep 17 00:00:00 2001 From: Clement Verna Date: May 27 2016 13:48:26 +0000 Subject: Added emoji to SSE for issue and PR Fixes https://pagure.io/pagure/issue/692 --- diff --git a/pagure/static/issue_ev.js b/pagure/static/issue_ev.js index ea5f263..5a872fd 100644 --- a/pagure/static/issue_ev.js +++ b/pagure/static/issue_ev.js @@ -137,7 +137,7 @@ add_comment = function(data, username) {
\ \ \ - ' + data.comment_added + '\ + ' + emojione.toImage(data.comment_added) + '\
\ \
\ diff --git a/pagure/static/request_ev.js b/pagure/static/request_ev.js index cb05b27..d59f0e3 100644 --- a/pagure/static/request_ev.js +++ b/pagure/static/request_ev.js @@ -17,7 +17,7 @@ add_comment = function(data, username) { var _data = '
\
\
\ - ' + data.comment_added + '\ + ' + emojione.toImage(data.comment_added) + '\
\ \ Just now
\ @@ -39,7 +39,7 @@ add_comment = function(data, username) {
\
\
\ - ' + data.comment_added + ' \ + ' + emojione.toImage(data.comment_added) + ' \
\
\
\ @@ -76,7 +76,7 @@ add_comment = function(data, username) {
\ \ ' - + data.comment_added + '\ + + emojione.toImage(data.comment_added) + '\
\ \
\