mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
This commit is contained in:
@@ -510,7 +510,8 @@ accountsController.getNotifications = function(req, res, next) {
|
|||||||
}
|
}
|
||||||
res.render('notifications', {
|
res.render('notifications', {
|
||||||
notifications: notifications,
|
notifications: notifications,
|
||||||
title: '[[pages:notifications]]'
|
title: '[[pages:notifications]]',
|
||||||
|
breadcrumbs: helpers.buildBreadcrumbs([{text: '[[pages:notifications]]'}])
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
@@ -550,7 +551,8 @@ accountsController.getChats = function(req, res, callback) {
|
|||||||
nextStart: results.recentChats.nextStart,
|
nextStart: results.recentChats.nextStart,
|
||||||
contacts: results.contacts,
|
contacts: results.contacts,
|
||||||
allowed: true,
|
allowed: true,
|
||||||
title: '[[pages:chats]]'
|
title: '[[pages:chats]]',
|
||||||
|
breadcrumbs: helpers.buildBreadcrumbs([{text: '[[pages:chats]]'}])
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -584,7 +586,8 @@ accountsController.getChats = function(req, res, callback) {
|
|||||||
meta: data.toUser,
|
meta: data.toUser,
|
||||||
messages: data.messages,
|
messages: data.messages,
|
||||||
allowed: data.allowed,
|
allowed: data.allowed,
|
||||||
title: '[[pages:chat, ' + data.toUser.username + ']]'
|
title: '[[pages:chat, ' + data.toUser.username + ']]',
|
||||||
|
breadcrumbs: helpers.buildBreadcrumbs([{text: '[[pages:chats]]', url: nconf.get('relative_path') + '/chats'}, {text: data.toUser.username}])
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user