mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 15:42:52 +01:00
added title to flagged posts page
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
"popular-month": "Popular topics this month",
|
||||
"popular-alltime": "All time popular topics",
|
||||
"recent": "Recent Topics",
|
||||
"flagged-posts": "Flagged Posts",
|
||||
|
||||
"users/online": "Online Users",
|
||||
"users/latest": "Latest Users",
|
||||
|
||||
@@ -24,7 +24,13 @@ flagsController.get = function(req, res, next) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
}
|
||||
res.render('admin/manage/flags', {posts: posts, next: stop + 1, byUsername: byUsername});
|
||||
var data = {
|
||||
posts: posts,
|
||||
next: stop + 1,
|
||||
byUsername: byUsername,
|
||||
title: '[[pages:flagged-posts]]'
|
||||
};
|
||||
res.render('admin/manage/flags', data);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user