nodebb-theme-harmony 1.1.98 → 1.1.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/templates/login.tpl +1 -1
- package/templates/post-queue.tpl +34 -15
package/package.json
CHANGED
package/templates/login.tpl
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<div class="alert alert-danger alert-dismissible" id="login-error-notify" {{{ if error }}}style="display:block"{{{ else }}}style="display: none;"{{{ end }}}>
|
|
14
14
|
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
|
|
15
15
|
<strong>[[login:failed-login-attempt]]</strong>
|
|
16
|
-
<p>{error}</p>
|
|
16
|
+
<p class="mb-0">{error}</p>
|
|
17
17
|
</div>
|
|
18
18
|
|
|
19
19
|
<form class="d-flex flex-column gap-3" role="form" method="post" id="login-form">
|
package/templates/post-queue.tpl
CHANGED
|
@@ -1,8 +1,23 @@
|
|
|
1
|
+
{{{ if isAdmin }}}
|
|
2
|
+
{{{ if !enabled }}}
|
|
3
|
+
<div class="alert alert-info">
|
|
4
|
+
<p>[[post-queue:enabling-help, {config.relative_path}/admin/settings/post#post-queue]]</p>
|
|
5
|
+
</div>
|
|
6
|
+
{{{ end }}}
|
|
7
|
+
{{{ else }}}
|
|
8
|
+
<div>
|
|
9
|
+
<p class="lead">[[post-queue:public-intro]]</p>
|
|
10
|
+
<p>[[post-queue:public-description]]</p>
|
|
11
|
+
<hr />
|
|
12
|
+
</div>
|
|
13
|
+
{{{ end }}}
|
|
14
|
+
|
|
15
|
+
{{{ if (!singlePost && posts.length) }}}
|
|
1
16
|
<div class="btn-toolbar justify-content-end">
|
|
2
17
|
<div class="me-2">
|
|
3
18
|
<!-- IMPORT partials/category/filter-dropdown-right.tpl -->
|
|
4
19
|
</div>
|
|
5
|
-
|
|
20
|
+
|
|
6
21
|
<div class="btn-group bottom-sheet" component="post-queue/bulk-actions">
|
|
7
22
|
<button type="button" class="btn-ghost-sm dropdown-toggle" data-bs-toggle="dropdown" autocomplete="off" aria-haspopup="true" aria-expanded="false">
|
|
8
23
|
<i class="fa fa-clone"></i><span class="fw-semibold"> [[post-queue:bulk-actions]]</span>
|
|
@@ -20,24 +35,28 @@
|
|
|
20
35
|
{{{ end }}}
|
|
21
36
|
</ul>
|
|
22
37
|
</div>
|
|
23
|
-
{{{ end }}}
|
|
24
38
|
</div>
|
|
39
|
+
{{{ end }}}
|
|
25
40
|
|
|
26
41
|
<div class="post-queue posts-list">
|
|
27
|
-
{{{ if
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
<div class="d-grid ms-md-auto">
|
|
37
|
-
<a class="btn btn-sm btn-primary flex-shrink text-nowrap" href=".">[[post-queue:back-to-list]]</a>
|
|
42
|
+
{{{ if !posts.length }}}
|
|
43
|
+
{{{ if !singlePost }}}
|
|
44
|
+
<div class="mx-auto">
|
|
45
|
+
<div class="d-flex flex-column gap-3 justify-content-center text-center">
|
|
46
|
+
<div class="mx-auto p-4 bg-light border rounded">
|
|
47
|
+
<i class="text-secondary fa fa-fw fa-4x fa-seedling"></i>
|
|
48
|
+
</div>
|
|
49
|
+
[[post-queue:no-queued-posts]]
|
|
50
|
+
</div>
|
|
38
51
|
</div>
|
|
39
|
-
|
|
40
|
-
|
|
52
|
+
{{{ else }}}
|
|
53
|
+
<div class="alert alert-info d-flex align-items-md-center d-flex flex-column flex-md-row">
|
|
54
|
+
<p class="mb-md-0">[[post-queue:no-single-post]]</p>
|
|
55
|
+
<div class="d-grid ms-md-auto">
|
|
56
|
+
<a class="btn btn-sm btn-primary flex-shrink text-nowrap" href=".">[[post-queue:back-to-list]]</a>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
{{{ end }}}
|
|
41
60
|
{{{ end }}}
|
|
42
61
|
|
|
43
62
|
{{{ each posts }}}
|