mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-17 17:10:40 +02:00
added page titles
This commit is contained in:
@@ -32,6 +32,9 @@
|
||||
"chats": "Chats",
|
||||
"chat": "Chatting with %1",
|
||||
|
||||
"flags": "Flags",
|
||||
"flag-details": "Flag %1 Details",
|
||||
|
||||
"account/edit": "Editing \"%1\"",
|
||||
"account/edit/password": "Editing password of \"%1\"",
|
||||
"account/edit/username": "Editing username of \"%1\"",
|
||||
|
||||
@@ -43,7 +43,8 @@ modsController.flags.list = function (req, res, next) {
|
||||
res.render('flags/list', {
|
||||
flags: flags,
|
||||
hasFilter: !!Object.keys(filters).length,
|
||||
filters: filters
|
||||
filters: filters,
|
||||
title: '[[pages:flags]]'
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -67,7 +68,8 @@ modsController.flags.detail = function (req, res, next) {
|
||||
type_bool: ['post', 'user'].reduce(function (memo, cur) {
|
||||
memo[cur] = results.flagData.type === cur;
|
||||
return memo;
|
||||
}, {})
|
||||
}, {}),
|
||||
title: '[[pages:flag-details, ' + req.params.flagId + ']]'
|
||||
}));
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user