mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 02:36:16 +01:00
feat: use unread icon in mobile
This commit is contained in:
@@ -49,6 +49,7 @@ unreadController.get = async function (req, res) {
|
||||
data.selectedCategory = categoryData.selectedCategory;
|
||||
data.selectedCids = categoryData.selectedCids;
|
||||
data.selectCategoryLabel = '[[unread:mark_as_read]]';
|
||||
data.selectCategoryIcon = 'fa-inbox';
|
||||
if (req.originalUrl.startsWith(`${nconf.get('relative_path')}/api/unread`) || req.originalUrl.startsWith(`${nconf.get('relative_path')}/unread`)) {
|
||||
data.title = '[[pages:unread]]';
|
||||
data.breadcrumbs = helpers.buildBreadcrumbs([{ text: '[[unread:title]]' }]);
|
||||
|
||||
Reference in New Issue
Block a user