nodebb-theme-persona 14.2.27 → 14.2.29

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-persona",
3
- "version": "14.2.27",
3
+ "version": "14.2.29",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.0.0"
6
6
  },
@@ -1,11 +1,11 @@
1
- <!-- IF ../isSection -->
2
- {../name}
3
- <!-- ELSE -->
4
- <!-- IF ../link -->
5
- <a href="{../link}" itemprop="url">
6
- <!-- ELSE -->
7
- <a href="{config.relative_path}/category/{../slug}" itemprop="url">
8
- <!-- ENDIF ../link -->
9
- {../name}
10
- </a>
1
+ <!-- IF ../isSection -->
2
+ {../name}
3
+ <!-- ELSE -->
4
+ <!-- IF ../link -->
5
+ <a href="{../link}" itemprop="url">
6
+ <!-- ELSE -->
7
+ <a href="{config.relative_path}/category/{../slug}" itemprop="url">
8
+ <!-- ENDIF ../link -->
9
+ {../name}
10
+ </a>
11
11
  <!-- ENDIF ../isSection -->
@@ -34,7 +34,7 @@
34
34
  <div class="mb-3 user-title-option">
35
35
  <div class="d-flex align-items-center gap-3">
36
36
  <label class="form-label mb-0">[[groups:details.badge-preview]]</label>
37
- <span class="badge rounded-1 text-uppercase text-truncate rounded-1 {{{ if !group.userTitleEnabled }}} hide{{{ end }}}" style="max-width:150px; color: {group.textColor}; background-color: {group.labelColor}"><i class="fa{{{ if group.icon }}} {group.icon}{{{ if group.userTitle}}} me-1{{{ end }}}{{{ end }}}"></i><span class="badge-text">{{{ if group.userTitle }}}{group.userTitle}{{{ end }}}</span></span>
37
+ <span class="badge rounded-1 text-uppercase text-truncate rounded-1 d-flex align-items-center gap-1 {{{ if !group.userTitleEnabled }}} hide{{{ end }}}" style="max-width:150px; color: {group.textColor}; background-color: {group.labelColor}"><i class="fa {{{ if (group.icon && (group.icon != "fa-nbb-none")) }}}{group.icon}{{{ else }}}hidden{{{ end }}}"></i><span class="badge-text">{{{ if group.userTitle }}}{group.userTitle}{{{ end }}}</span></span>
38
38
  </div>
39
39
  <hr/>
40
40
  <div class="d-flex flex-column gap-2">
@@ -1 +1 @@
1
- <a href="{config.relative_path}/groups/{./slug}" class="badge rounded-1 text-uppercase text-truncate text-decoration-none d-flex align-items-center gap-1" style="line-height: normal; 150px;color:{./textColor};background-color: {./labelColor};"><i class="fa {{{ if ./icon }}}{./icon}{{{else}}}hidden{{{ end }}}"></i><span class="badge-text">{{{ if ./userTitle }}}{./userTitle}{{{ end }}}</span></a>
1
+ <a href="{config.relative_path}/groups/{./slug}" class="badge rounded-1 text-uppercase text-truncate text-decoration-none d-flex align-items-center gap-1" style="line-height: normal; 150px;color:{./textColor};background-color: {./labelColor};"><i class="fa {{{ if (./icon && (./icon != "fa-nbb-none")) }}}{./icon}{{{else}}}hidden{{{ end }}}"></i><span class="badge-text">{{{ if ./userTitle }}}{./userTitle}{{{ end }}}</span></a>
@@ -1,8 +1,13 @@
1
- <a data-bs-toggle="dropdown" href="#" role="button" class="nav-link position-relative" aria-haspopup="true" aria-expanded="false" aria-label="[[global:header.notifications]]">
1
+ <a data-bs-toggle="dropdown" data-bs-autoclose="outside" href="#" role="button" class="nav-link position-relative" aria-haspopup="true" aria-expanded="false" aria-label="[[global:header.notifications]]">
2
2
  <i component="notifications/icon" class="fa fa-fw {{{ if unreadCount.notification}}}fa-bell{{{ else }}}fa-bell-o{{{ end }}} unread-count" data-content="{unreadCount.notification}"></i>
3
3
  </a>
4
4
 
5
5
  <ul class="notifications-dropdown dropdown-menu dropdown-menu-end p-1 shadow" role="menu">
6
+ <li>
7
+ <button type="button" class="btn btn-ghost btn-sm fw-bold" data-filter="all">All</button>
8
+ <button type="button" class="btn btn-ghost btn-sm" data-filter="unread">Unread</button>
9
+ </li>
10
+ <li class="dropdown-divider"></li>
6
11
  <li>
7
12
  <div component="notifications/list" class="list-container notification-list overscroll-behavior-contain pe-1 ff-base ghost-scrollbar">
8
13
  <div class="mb-2 p-1">
@@ -44,8 +44,8 @@
44
44
  {{{ end }}}
45
45
  </div>
46
46
  </div>
47
+ {{{ if !@last }}}
48
+ <hr class="my-1" />
49
+ {{{ end }}}
47
50
  </div>
48
- {{{ if !@last }}}
49
- <hr class="my-1" />
50
- {{{ end }}}
51
51
  {{{ end }}}
@@ -12,7 +12,7 @@
12
12
  <li data-cid="{./cid}" class="d-flex flex-column gap-1">
13
13
  <div class="btn btn-ghost btn-sm ff-secondary d-flex gap-2 align-items-center rounded-1 text-start text-reset d-block text-truncate px-2 py-1 position-relative">
14
14
  <div class="flex-shrink-0">{buildCategoryIcon(@value, "40px", "rounded-circle")}</div>
15
- <div class="flex-grow-1">
15
+ <div class="flex-grow-1" style="min-width:0;">
16
16
  <a class="stretched-link" href="{config.relative_path}/category/{./slug}"></a>
17
17
  <span class="quick-search-title fw-semibold text-sm">
18
18
  {./name}