nodebb-theme-persona 13.1.6 → 13.1.8

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.1.6",
3
+ "version": "13.1.8",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
@@ -18,14 +18,18 @@
18
18
  {{{ end }}}
19
19
 
20
20
  <div class="notification-chat-content flex-grow-1">
21
- <!-- IF !rooms.lastUser.uid -->
22
- <div class="p-3 text-center h-100">
23
- <span>[[modules:chat.no-users-in-room]]</span>
21
+ <div component="chat/room/title" class="room-name fw-semibold">
22
+ {{{ if ./roomName}}}
23
+ {./roomName}
24
+ {{{ else }}}
25
+ {{{ if !./lastUser.uid }}}
26
+ <div class="p-3 text-center h-100">
27
+ <span>[[modules:chat.no-users-in-room]]</span>
28
+ </div>
29
+ {{{ else }}}
30
+ {./usernames}
31
+ {{{ end }}}
32
+ {{{ end }}}
24
33
  </div>
25
- <!-- ELSE -->
26
- <strong class="room-name">
27
- <span component="chat/title"><!-- IF rooms.roomName -->{rooms.roomName}<!-- ELSE -->{rooms.usernames}<!-- ENDIF rooms.roomName --></span>
28
- </strong>
29
- <!-- ENDIF !rooms.lastUser.uid -->
30
34
  </div>
31
35
  </li>
@@ -0,0 +1,34 @@
1
+ <button type="button" class="btn btn-outline-secondary d-flex gap-2 dropdown-toggle" data-bs-toggle="dropdown">
2
+ {{{ if selectedTag }}}
3
+ <span class="d-inline-flex align-items-center gap-1">
4
+ <i class="fa fa-fw fa-tags link-primary"></i>
5
+ <span class="visible-md-inline visible-lg-inline fw-semibold">{selectedTag.label}</span>
6
+ </span>
7
+ {{{ else }}}
8
+ <i class="fa fa-fw fa-tags link-primary"></i>
9
+ <span class="visible-md-inline visible-lg-inline fw-semibold">[[tags:all-tags]]</span>
10
+ {{{ end }}}
11
+ </button>
12
+ <div component="tag/filter/search" class="hidden position-absolute top-0">
13
+ <input type="text" class="form-control" placeholder="[[search:type-to-search]]" autocomplete="off">
14
+ </div>
15
+ <ul component="tag/filter/list" class="dropdown-menu overflow-auto" role="menu" style="max-height: 500px;">
16
+ <li role="presentation" data-tag="">
17
+ <a class="dropdown-item d-flex align-items-center gap-2" role="menu-item" href="#">
18
+ <span class="flex-grow-1">[[tags:all-tags]]</span>
19
+ <i component="tag/select/icon" class="flex-shrink-0 fa fa-fw fa-check {{{if selectedTag }}}invisible{{{ end }}}"></i>
20
+ </a>
21
+ </li>
22
+ {{{ each tagItems }}}
23
+ <li role="presentation" data-tag="{./valueEscaped}">
24
+ <a class="dropdown-item d-flex align-items-center gap-2" role="menu-item" href="#">
25
+ <span component="tag-markup" class="flex-grow-1">
26
+ <div class="d-inline-flex align-items-center gap-1">
27
+ {./valueEscaped}
28
+ </div>
29
+ </span>
30
+ <i component="tag/select/icon" class="flex-shrink-0 fa fa-fw fa-check {{{ if !./selected }}}invisible{{{ end }}}"></i>
31
+ </a>
32
+ </li>
33
+ {{{ end }}}
34
+ </ul>