nodebb-theme-persona 13.0.59 → 13.0.61

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.0.59",
3
+ "version": "13.0.61",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
@@ -1,4 +1,4 @@
1
- <li component="categories/category" data-cid="{../cid}" data-numRecentReplies="1" class="row clearfix category-{../cid}">
1
+ <li component="categories/category" data-cid="{./cid}" data-numRecentReplies="1" class="row clearfix category-{./cid} {./unread-class}">
2
2
  <meta itemprop="name" content="{../name}">
3
3
 
4
4
  <div class="content col-12 <!-- IF config.hideCategoryLastPost -->col-md-10 col-sm-12<!-- ELSE -->col-md-7 col-sm-9<!-- ENDIF config.hideCategoryLastPost -->">
@@ -44,11 +44,11 @@
44
44
 
45
45
  <!-- IF !../link -->
46
46
  <div class="col-md-1 d-none d-md-block stats text-muted">
47
- <span class="{../unread-class} human-readable-number" title="{../totalTopicCount}">{../totalTopicCount}</span><br />
47
+ <span class="human-readable-number" title="{../totalTopicCount}">{../totalTopicCount}</span><br />
48
48
  <small>[[global:topics]]</small>
49
49
  </div>
50
50
  <div class="col-md-1 d-none d-md-block stats text-muted">
51
- <span class="{../unread-class} human-readable-number" title="{../totalPostCount}">{../totalPostCount}</span><br />
51
+ <span class="human-readable-number" title="{../totalPostCount}">{../totalPostCount}</span><br />
52
52
  <small>[[global:posts]]</small>
53
53
  </div>
54
54
  <!-- IF !config.hideCategoryLastPost -->
@@ -0,0 +1,25 @@
1
+ <div class="dropdown bottom-sheet">
2
+ <button type="button" class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown">
3
+ {{{ if selectedGroup }}}
4
+ <span class="fw-semibold">{selectedGroup.displayName}</span>
5
+ {{{ else }}}
6
+ <span class="fw-semibold">[[groups:all-groups]]</span>
7
+ {{{ end }}} <span class="caret"></span>
8
+ </button>
9
+ <ul class="dropdown-menu text-sm" role="menu">
10
+ <li role="presentation" class="user {{{ if !selectedGroup}}}selected{{{end}}}">
11
+ <a class="dropdown-item rounded-1 d-flex align-items-center gap-2" role="menu-item" href="{config.relative_path}/{allGroupsUrl}">
12
+ <div class="flex-grow-1">[[groups:all-groups]]</div>
13
+ <i class="flex-shrink-0 fa fa-fw {{{ if !selectedGroup }}}fa-check{{{ end }}}"></i>
14
+ </a>
15
+ </li>
16
+ {{{ each groups }}}
17
+ <li role="presentation" class="user {{{ if ./selected}}}selected{{{end}}}">
18
+ <a class="dropdown-item d-flex align-items-center gap-2" role="menu-item" href="{config.relative_path}/{./url}">
19
+ <div class="flex-grow-1 d-inline-flex gap-1 align-items-center">{./displayName}</div>
20
+ <i class="flex-shrink-0 fa fa-fw {{{ if ./selected }}}fa-check{{{ end }}}"></i>
21
+ </a>
22
+ </li>
23
+ {{{end}}}
24
+ </ul>
25
+ </div>