From 7ec7537b7dedb8667a9257ee146b2a03b2fec940 Mon Sep 17 00:00:00 2001 From: reality Date: Sat, 7 Sep 2013 19:28:46 +0000 Subject: [PATCH] include user in missing notifies --- modules/report/report.js | 1 + views/report/missing_notifies.jade | 2 ++ 2 files changed, 3 insertions(+) diff --git a/modules/report/report.js b/modules/report/report.js index 61b8e43..a089967 100644 --- a/modules/report/report.js +++ b/modules/report/report.js @@ -91,6 +91,7 @@ var report = function(dbot) { this.pending[id].push({ 'time': new Date().getTime(), 'channel': cName, + 'user': user.primaryNick, 'message': message }); this.pNotify[id] = true; diff --git a/views/report/missing_notifies.jade b/views/report/missing_notifies.jade index d41a035..83b09d8 100644 --- a/views/report/missing_notifies.jade +++ b/views/report/missing_notifies.jade @@ -12,10 +12,12 @@ block content tr th Date th Channel + th User th Message tbody each notify in notifies tr td #{notify.time} td #{notify.channel} + td #{notify.user} td #{notify.message}