nodebb-theme-persona 14.2.29 → 14.2.30

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-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "nodebb-theme-persona",
3
- "version": "14.2.29",
3
+ "version": "14.2.30",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "nodebb-theme-persona",
9
- "version": "14.2.29",
9
+ "version": "14.2.30",
10
10
  "license": "BSD-2-Clause",
11
11
  "dependencies": {
12
12
  "pulling": "^2.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-persona",
3
- "version": "14.2.29",
3
+ "version": "14.2.30",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.0.0"
6
6
  },
@@ -70,6 +70,7 @@
70
70
  <div class="col-lg-8 col-sm-12">
71
71
  {{{ if posts.length }}}
72
72
  <div class="topic-list-header sticky-top btn-toolbar justify-content-end align-items-center px-1 py-2 mb-2 flex-nowrap">
73
+ {{{ if config.loggedIn }}}
73
74
  <div class="dropdown bottom-sheet">
74
75
  <button class="btn btn-ghost btn-sm ff-secondary d-flex gap-2 align-items-center dropdown-toggle" data-bs-toggle="dropdown">
75
76
  <i class="fa fa-fw fa-arrow-down-wide-short text-primary"></i>
@@ -77,6 +78,8 @@
77
78
  </button>
78
79
  <ul class="dropdown-menu" id="sort-options">
79
80
  <li><a class="dropdown-item" href="{config.relative_path}/world">[[world:latest]]</a></li>
81
+ <li><a class="dropdown-item" href="{config.relative_path}/world?local=1">[[world:latest-local]]</a></li>
82
+ <li><a class="dropdown-item" href="{config.relative_path}/world?all=1">[[world:latest-all]]</a></li>
80
83
  <li><a class="dropdown-item" href="{config.relative_path}/world?sort=popular&term=day">[[world:popular-day]]</a></li>
81
84
  <li><a class="dropdown-item" href="{config.relative_path}/world?sort=popular&term=week">[[world:popular-week]]</a></li>
82
85
  <li><a class="dropdown-item" href="{config.relative_path}/world?sort=popular&term=month">[[world:popular-month]]</a></li>
@@ -84,6 +87,7 @@
84
87
  <li><a class="dropdown-item" href="{config.relative_path}/world?sort=popular&term=alltime">[[world:popular-alltime]]</a></li>
85
88
  </ul>
86
89
  </div>
90
+ {{{ end }}}
87
91
  <a class="btn btn-ghost btn-sm ff-secondary d-flex gap-2 align-items-center fw-semibold" id="world-help" href="#">
88
92
  <i class="fa fa-question text-primary"></i>
89
93
  <span class="visible-md-inline visible-lg-inline">[[world:help]]</span>