nodebb-theme-persona 13.3.52 → 13.3.53

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": "13.3.52",
3
+ "version": "13.3.53",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.7.0"
6
6
  },
@@ -34,7 +34,7 @@
34
34
 
35
35
  <hr />
36
36
 
37
- <div component="groups/container" class="row" id="groups-list" data-nextstart={nextStart}>
37
+ <div component="groups/container" class="row" id="groups-list">
38
38
  {{{ if groups.length }}}
39
39
  <!-- IMPORT partials/groups/list.tpl -->
40
40
  {{{ else }}}
@@ -45,4 +45,6 @@
45
45
  </div>
46
46
  {{{ end }}}
47
47
  </div>
48
+
49
+ <!-- IMPORT partials/paginator.tpl -->
48
50
  </div>
@@ -7,13 +7,16 @@
7
7
  <button class="btn btn-ghost btn-sm dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
8
8
  {{{ if selectedFilter }}}{selectedFilter.name}{{{ end}}} <span class="caret"></span>
9
9
  </button>
10
- <ul class="dropdown-menu dropdown-menu-end" role="menu">
10
+ <ul class="dropdown-menu dropdown-menu-end p-1" role="menu">
11
11
  {{{ each filters }}}
12
12
  {{{ if filters.separator }}}
13
13
  <li role="separator" class="dropdown-divider"></li>
14
14
  {{{ else }}}
15
15
  <li role="presentation" class="category">
16
- <a class="dropdown-item" role="menuitem" href="{config.relative_path}/notifications?filter={filters.filter}"><i class="fa fa-fw {{{ if filters.selected }}}fa-check{{{ end }}}"></i> {filters.name}</a>
16
+ <a class="dropdown-item rounded-1 d-flex gap-3 align-items-center justify-content-between" role="menuitem" href="{config.relative_path}/notifications?filter={filters.filter}">
17
+ <span><i class="fa fa-fw {{{ if filters.selected }}}fa-check{{{ end }}}"></i> {filters.name}</span>
18
+ <span class="">{./count}</span>
19
+ </a>
17
20
  </li>
18
21
  {{{ end }}}
19
22
  {{{ end }}}
@@ -2,7 +2,7 @@
2
2
  <div class="col-lg-4 col-md-6 col-sm-12 mb-3" component="groups/summary" data-slug="{groups.slug}">
3
3
  <div class="card h-100">
4
4
  <a href="{config.relative_path}/groups/{groups.slug}" class="card-header list-cover" style="{{{ if groups.cover:thumb:url }}}background-image: url({./cover:thumb:url});background-size: cover; min-height: 125px; background-position: {./cover:position}{{{ end }}}">
5
- <h5 class="card-title d-inline-block mw-100 px-2 py-1 text-truncate text-capitalize fw-bold rounded-1" style="color: white;background-color: rgba(0,0,0,0.5);">{groups.displayName} <small>{groups.memberCount}</small></h5>
5
+ <h5 class="card-title d-inline-block mw-100 px-2 py-1 text-truncate text-capitalize fw-bold rounded-1" style="color: white;background-color: rgba(0,0,0,0.5);">{groups.displayName} <small>{formattedNumber(groups.memberCount)}</small></h5>
6
6
  </a>
7
7
  <div class="card-body">
8
8
  <p class="text-muted">