diff --git a/public/language/en-GB/post-queue.json b/public/language/en-GB/post-queue.json index e80369c2a7..127c357dd3 100644 --- a/public/language/en-GB/post-queue.json +++ b/public/language/en-GB/post-queue.json @@ -1,7 +1,10 @@ { "post-queue": "Post Queue", - "description": "There are no posts in the post queue.
To enable this feature, go to Settings → Post → Post Queue and enable Post Queue.", + "no-queued-posts": "There are no posts in the post queue.", + "no-single-post": "The topic or post you are looking for is no longer in the queue. It has likely been approved or deleted already.", + "enabling-help": "To enable this feature, go to Settings → Post → Post Queue and enable Post Queue.", + "back-to-list": "Back to Post Queue", "user": "User", "category": "Category", "title": "Title", diff --git a/src/controllers/mods.js b/src/controllers/mods.js index 3656146652..3a169fa015 100644 --- a/src/controllers/mods.js +++ b/src/controllers/mods.js @@ -4,6 +4,7 @@ const _ = require('lodash'); const user = require('../user'); const groups = require('../groups'); +const meta = require('../meta'); const posts = require('../posts'); const flags = require('../flags'); const analytics = require('../analytics'); @@ -219,6 +220,7 @@ modsController.postQueue = async function (req, res, next) { allCategoriesUrl: `post-queue${helpers.buildQueryString(req.query, 'cid', '')}`, pagination: pagination.create(page, pageCount), breadcrumbs: helpers.buildBreadcrumbs(crumbs), + enabled: meta.config.postQueue, singlePost: !!id, }); };