nodebb-theme-harmony 1.0.0-beta.55 → 1.0.0-beta.57

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-harmony",
3
- "version": "1.0.0-beta.55",
3
+ "version": "1.0.0-beta.57",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
@@ -20,4 +20,28 @@
20
20
  <a class="page-link rounded fw-secondary px-3" href="?{pagination.next.qs}" data-page="{pagination.next.page}"> <i class="fa fa-chevron-right"></i></a>
21
21
  </li>
22
22
  </ul>
23
+
24
+ {{{ if !template.topic }}}
25
+ <ul class="pagination pagination-sm hidden-md hidden-lg justify-content-center">
26
+ <li class="page-item first{{{ if !pagination.prev.active }}} disabled{{{ end }}}">
27
+ <a class="page-link fw-secondary" href="?{pagination.first.qs}" data-page="1"><i class="fa fa-fast-backward"></i> </a>
28
+ </li>
29
+
30
+ <li class="page-item previous{{{ if !pagination.prev.active }}} disabled{{{ end }}}">
31
+ <a class="page-link fw-secondary" href="?{pagination.prev.qs}" data-page="{pagination.prev.page}"><i class="fa fa-chevron-left"></i> </a>
32
+ </li>
33
+
34
+ <li component="pagination/select-page" class="page-item page select-page">
35
+ <a class="page-link fw-secondary" href="#">{pagination.currentPage} / {pagination.pageCount}</a>
36
+ </li>
37
+
38
+ <li class="page-item next{{{ if !pagination.next.active }}} disabled{{{ end }}}">
39
+ <a class="page-link fw-secondary" href="?{pagination.next.qs}" data-page="{pagination.next.page}"> <i class="fa fa-chevron-right"></i></a>
40
+ </li>
41
+
42
+ <li class="page-item last{{{ if !pagination.next.active }}} disabled{{{ end }}}">
43
+ <a class="page-link fw-secondary" href="?{pagination.last.qs}" data-page="{pagination.pageCount}"><i class="fa fa-fast-forward"></i> </a>
44
+ </li>
45
+ </ul>
46
+ {{{ end }}}
23
47
  </div>
@@ -1,5 +1,7 @@
1
+ <!-- IMPORT partials/breadcrumbs.tpl -->
2
+
3
+ {{{ if (!singlePost && posts.length) }}}
1
4
  <div class="btn-toolbar justify-content-end">
2
- {{{ if (!singlePost && posts.length) }}}
3
5
  <div class="me-2">
4
6
  <!-- IMPORT partials/category/filter-dropdown-right.tpl -->
5
7
  </div>
@@ -20,18 +22,24 @@
20
22
  {{{ end }}}
21
23
  </ul>
22
24
  </div>
23
- {{{ end }}}
24
25
  </div>
26
+
25
27
  <hr/>
28
+ {{{ end }}}
29
+
26
30
  <div class="row">
27
31
  <div class="col-12">
28
32
  <div class="post-queue preventSlideout posts-list">
29
- {{{ if !posts.length }}}
30
- {{{ if isAdmin }}}
31
- <div class="card card-body">
32
- <p>
33
- [[post-queue:description, {config.relative_path}/admin/settings/post#post-queue]]
34
- </p>
33
+ {{{ if (!posts.length && isAdmin) }}}
34
+ {{{ if !singlePost }}}
35
+ <div class="alert alert-info">
36
+ <p>[[post-queue:no-queued-posts]]</p>
37
+ {{{ if !enabled }}}<p>[[post-queue:enabling-help, {config.relative_path}/admin/settings/post#post-queue]]</p>{{{ end }}}
38
+ </div>
39
+ {{{ else }}}
40
+ <div class="alert alert-info d-flex align-items-center">
41
+ <p class="mb-0 me-auto">[[post-queue:no-single-post]]</p>
42
+ <a class="btn btn-sm btn-primary" href=".">[[post-queue:back-to-list]]</a>
35
43
  </div>
36
44
  {{{ end }}}
37
45
  {{{ end }}}