nodebb-theme-harmony 2.2.55 → 2.2.56

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-harmony",
3
- "version": "2.2.55",
3
+ "version": "2.2.56",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "nodebb-theme-harmony",
9
- "version": "2.2.55",
9
+ "version": "2.2.56",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@fontsource/inter": "5.2.8",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-harmony",
3
- "version": "2.2.55",
3
+ "version": "2.2.56",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.0.0"
6
6
  },
@@ -26,6 +26,7 @@
26
26
  {{{ end }}}
27
27
 
28
28
  {{{ if template.world }}}
29
+ {{{ if config.loggedIn }}}
29
30
  <div class="dropdown bottom-sheet">
30
31
  <button class="btn btn-ghost btn-sm ff-secondary d-flex gap-2 align-items-center dropdown-toggle h-100" data-bs-toggle="dropdown">
31
32
  <i class="fa fa-fw fa-arrow-down-wide-short text-primary"></i>
@@ -33,6 +34,7 @@
33
34
  </button>
34
35
  <ul class="dropdown-menu" id="sort-options">
35
36
  <li><a class="dropdown-item rounded-1" href="{config.relative_path}/world">[[world:latest]]</a></li>
37
+ <li><a class="dropdown-item rounded-1" href="{config.relative_path}/world?local=1">[[world:latest-local]]</a></li>
36
38
  <li><a class="dropdown-item rounded-1" href="{config.relative_path}/world?all=1">[[world:latest-all]]</a></li>
37
39
  <li><a class="dropdown-item rounded-1" href="{config.relative_path}/world?sort=popular&term=day">[[world:popular-day]]</a></li>
38
40
  <li><a class="dropdown-item rounded-1" href="{config.relative_path}/world?sort=popular&term=week">[[world:popular-week]]</a></li>
@@ -41,6 +43,7 @@
41
43
  <li><a class="dropdown-item rounded-1" href="{config.relative_path}/world?sort=popular&term=alltime">[[world:popular-alltime]]</a></li>
42
44
  </ul>
43
45
  </div>
46
+ {{{ end }}}
44
47
  <div>
45
48
  <a class="btn btn-ghost btn-sm ff-secondary d-flex gap-2 align-items-center fw-semibold h-100" href="#" id="world-help">
46
49
  <i class="fa fa-fw fa-question text-primary"></i>