From 2968e1a01701056cd76f45f2b7cd9d744e3b8d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sat, 28 Nov 2020 22:05:13 -0500 Subject: [PATCH] fix: https://github.com/NodeBB/NodeBB/issues/6016 --- templates/post-queue.tpl | 117 +++++++++++++++++++-------------------- 1 file changed, 57 insertions(+), 60 deletions(-) diff --git a/templates/post-queue.tpl b/templates/post-queue.tpl index 5ed3b56..98083c2 100644 --- a/templates/post-queue.tpl +++ b/templates/post-queue.tpl @@ -2,78 +2,75 @@
- +
-
-
- [[post-queue:post-queue]] -
- - +
+ {{{ if !posts.length }}}

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

- + {{{ end }}} + + {{{ each posts }}} +
+
+ {{{ if posts.data.tid }}}[[post-queue:reply]]{{{ else }}}[[post-queue:topic]]{{{ end }}} + +
+
-
- - - - - - - - - - - - - - - - - + {{{if !posts.data.tid}}} - + {{{end}}} - - - - - - - -
[[post-queue:user]][[post-queue:category]][[post-queue:title]][[post-queue:content]] [[post-queue:posted]]
- - {posts.user.username} - +
+
+ [[post-queue:user]] +
+ {{{ if posts.user.userslug}}} + {buildAvatar(posts.user, "24", true, "not-responsive")} {posts.user.username} + {{{ else }}} {posts.user.username} - -
- - {posts.category.name} - - - - [[post-queue:reply-to, {posts.topic.title}]] - + {{{ end }}} + + +
+ [[post-queue:category]]{{{ if posts.data.cid}}} {{{ end }}} + +
+
+ {{{ if posts.data.tid }}}[[post-queue:topic]]{{{ else }}}[[post-queue:title]] {{{ end }}} +
+ {{{ if posts.data.tid }}} + {posts.topic.title} + {{{ end }}} {posts.data.title} -
{posts.data.content} - - -
- - -
-
+
+
+
+
+ [[post-queue:content]] +
{posts.data.content}
+ +
+
+
- - + {{{ end }}}
+ +
\ No newline at end of file