forked from GitHub/dbot
order notifies right [close #567]
This commit is contained in:
parent
13ff92899c
commit
904b7d22d5
@ -26,7 +26,7 @@ var pages = function(dbot) {
|
||||
res.render('missing_notifies', {
|
||||
'name': dbot.config.name,
|
||||
'user': user.primaryNick,
|
||||
'notifies': notifies
|
||||
'notifies': _.sortBy(notifies, 'time')
|
||||
});
|
||||
|
||||
if(_.has(dbot.modules, 'log')) {
|
||||
@ -49,7 +49,7 @@ var pages = function(dbot) {
|
||||
res.render('notifies', {
|
||||
'name': dbot.config.name,
|
||||
'server': server,
|
||||
'notifies': notifies
|
||||
'notifies': _.sortBy(notifies, 'time')
|
||||
});
|
||||
});
|
||||
}
|
||||
|
@ -13,7 +13,7 @@ block content
|
||||
th User
|
||||
th Message
|
||||
tbody
|
||||
for notify, key in notifies
|
||||
for notify in notifies
|
||||
tr
|
||||
td #{new Date(notify.time)}
|
||||
td #{notify.channel}
|
||||
|
Loading…
Reference in New Issue
Block a user