mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 19:27:11 +02:00
fix: updated messaging for post-queue template, #11206
This commit is contained in:
@@ -30,12 +30,16 @@
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="post-queue preventSlideout posts-list">
|
||||
{{{ if !posts.length }}}
|
||||
{{{ if isAdmin }}}
|
||||
<div class="card card-body">
|
||||
<p>
|
||||
[[post-queue:description, {config.relative_path}/admin/settings/post#post-queue]]
|
||||
</p>
|
||||
{{{ if (!posts.length && isAdmin) }}}
|
||||
{{{ if !singlePost }}}
|
||||
<div class="alert alert-info">
|
||||
<p>[[post-queue:no-queued-posts]]</p>
|
||||
{{{ if !enabled }}}<p>[[post-queue:enabling-help, {config.relative_path}/admin/settings/post#post-queue]]</p>{{{ end }}}
|
||||
</div>
|
||||
{{{ else }}}
|
||||
<div class="alert alert-info d-flex align-items-center">
|
||||
<p class="mb-0 me-auto">[[post-queue:no-single-post]]</p>
|
||||
<a class="btn btn-primary" href=".">[[post-queue:back-to-list]]</a>
|
||||
</div>
|
||||
{{{ end }}}
|
||||
{{{ end }}}
|
||||
|
||||
Reference in New Issue
Block a user