From 414f78bedddb4388a892dd08bef979b8c6d9ccca Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Feb 24 2016 13:34:17 +0000 Subject: Display the notification comments on the PR page if one is detected --- diff --git a/pagure/static/request_ev.js b/pagure/static/request_ev.js index ada210d..cb05b27 100644 --- a/pagure/static/request_ev.js +++ b/pagure/static/request_ev.js @@ -13,7 +13,19 @@ add_comment = function(data, username) { edit_btn = ''; } - if (inline) { + if (data.notification){ + var _data = '
\ +
\ +
\ + ' + data.comment_added + '\ +
\ + \ + Just now
\ +
\ +
\ +
'; + + } else if (inline) { var _data = ' \ \
\