nodebb-theme-harmony 2.2.58 → 2.2.60

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.58",
3
+ "version": "2.2.60",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "nodebb-theme-harmony",
9
- "version": "2.2.58",
9
+ "version": "2.2.60",
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.58",
3
+ "version": "2.2.60",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.0.0"
6
6
  },
@@ -1,9 +1,7 @@
1
- {{{ if !notifications.length }}}
2
- <div class="no-notifs text-center p-4 d-flex flex-column">
1
+ <div class="no-notifs text-center p-4 d-flex flex-column {{{ if notifications.length }}}hidden{{{ end }}}">
3
2
  <div class="p-4"><i class="fa-solid fa-wind fs-2 text-muted"></i></div>
4
3
  <div class="text-xs fw-semibold text-muted">[[notifications:no-notifs]]</div>
5
4
  </div>
6
- {{{ end }}}
7
5
 
8
6
  {{{ each notifications }}}
9
7
  <div class="{./readClass}" data-nid="{./nid}" data-path="{./path}" {{{ if ./pid }}}data-pid="{./pid}"{{{ end }}}{{{ if ./tid }}}data-tid="{./tid}"{{{ end }}}>
@@ -9,9 +9,9 @@
9
9
  <span component="notifications/count" class="visible-open badge rounded-1 bg-primary {{{ if !unreadCount.notification }}}hidden{{{ end }}}">{unreadCount.notification}</span>
10
10
  </a>
11
11
  <ul class="notifications-dropdown dropdown-menu p-1 shadow" role="menu">
12
- <li>
13
- <button type="button" class="btn btn-ghost btn-sm fw-bold" data-filter="all">All</button>
14
- <button type="button" class="btn btn-ghost btn-sm" data-filter="unread">Unread</button>
12
+ <li class="d-flex gap-1 align-items-center">
13
+ <button type="button" class="btn btn-ghost btn-sm ff-secondary active px-3" data-filter="all">[[notifications:all]]</button>
14
+ <button type="button" class="btn btn-ghost btn-sm ff-secondary d-flex align-items-center gap-2" data-filter="unread">[[unread:title]] <span component="notifications/count" class="{{{ if !unreadCount.notification }}}hidden{{{ end }}}">{unreadCount.notification}</span></button>
15
15
  </li>
16
16
  <li class="dropdown-divider"></li>
17
17
  <li>
@@ -15,7 +15,7 @@
15
15
  </div>
16
16
  <div>
17
17
  <div class="d-flex justify-content-end gap-2">
18
- <div class="me-auto">
18
+ <div class="me-auto hidden" component="topic/quickreply/category-selector">
19
19
  <!-- IMPORT partials/category/selector-dropdown-left.tpl -->
20
20
  </div>
21
21
  <button type="button" component="topic/quickreply/upload/button" class="btn btn-ghost btn-sm border"><i class="fa fa-upload"></i></button>