From 63ba498647e8092f9f1bc4ae91332be09732264e Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 17 Nov 2023 11:45:02 -0500 Subject: [PATCH] fix: update post-queue template for #12171 --- src/views/post-queue.tpl | 39 +++++++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 12 deletions(-) diff --git a/src/views/post-queue.tpl b/src/views/post-queue.tpl index 1226becd1a..e6b2233d17 100644 --- a/src/views/post-queue.tpl +++ b/src/views/post-queue.tpl @@ -1,3 +1,17 @@ +{{{ if isAdmin }}} +{{{ if !enabled }}} +
+

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

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

[[post-queue:public-intro]]

+

[[post-queue:public-description]]

+
+
+{{{ end }}} + {{{ if (!singlePost && posts.length) }}}
@@ -28,18 +42,19 @@
- {{{ 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 }}} + {{{ if !posts.length }}} + {{{ if !singlePost }}} +
+ [[post-queue:no-queued-posts]] +
+ {{{ else }}} +
+

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

+ +
+ {{{ end }}} {{{ end }}} {{{ each posts }}}