From 036171eeb1e9841d9ec74bb0d74117e178190c36 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 2 Feb 2023 14:41:56 -0500 Subject: [PATCH] fix: nodebb/nodebb#11206, different messaging on empty post queue/singlePost --- templates/post-queue.tpl | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/templates/post-queue.tpl b/templates/post-queue.tpl index ada5bc2..21fe75d 100644 --- a/templates/post-queue.tpl +++ b/templates/post-queue.tpl @@ -24,11 +24,17 @@
- {{{ if !posts.length }}} - {{{ if isAdmin }}} -

- [[post-queue:description, {config.relative_path}/admin/settings/post#post-queue]] -

+ {{{ if (!posts.length && isAdmin) }}} + {{{ if !singlePost }}} +
+

[[post-queue:no-queued-posts]]

+ {{{ if !enabled }}}

[[post-queue:enabling-help, {config.relative_path}/admin/settings/post#post-queue]]

{{{ end }}} +
+ {{{ else }}} +
+

[[post-queue:no-single-post]]

+

[[post-queue:back-to-list]]

+
{{{ end }}} {{{ end }}}