nodebb-theme-persona 13.2.30 → 13.2.32

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.2.30",
3
+ "version": "13.2.32",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.3.0"
6
6
  },
@@ -8,6 +8,7 @@
8
8
  <div class="category {{{if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
9
9
  <!-- IMPORT partials/category/subcategory.tpl -->
10
10
 
11
+ {{{ if (topics.length || privileges.topics:create) }}}
11
12
  <div class="topic-list-header sticky-top btn-toolbar justify-content-between py-2 mb-2 flex-nowrap">
12
13
  <div class="d-flex gap-1 align-items-stretch">
13
14
  {{{ if privileges.topics:create }}}
@@ -28,15 +29,14 @@
28
29
  <!-- IMPORT partials/category/tools.tpl -->
29
30
  </div>
30
31
  </div>
32
+ {{{ end }}}
31
33
 
32
- {{{ if !topics.length }}}
33
- {{{ if privileges.topics:create }}}
34
+ {{{ if (!topics.length && privileges.topics:create)}}}
34
35
  <hr class="visible-xs" />
35
36
  <div class="alert alert-warning" id="category-no-topics">
36
37
  [[category:no_topics]]
37
38
  </div>
38
39
  {{{ end }}}
39
- {{{ end }}}
40
40
 
41
41
  <!-- IMPORT partials/topics_list.tpl -->
42
42
 
@@ -8,6 +8,9 @@
8
8
  <textarea component="chat/input" placeholder="[[modules:chat.placeholder.mobile]]" class="bg-transparent text-body form-control chat-input mousetrap rounded-0 border-0 shadow-none px-1 py-0" style="min-height: 1.5rem;height:0;max-height:30vh;resize:none;"></textarea>
9
9
  </div>
10
10
  <div class="d-flex gap-1">
11
+ {{{ each composerActions }}}
12
+ <button data-action="{./action}" class="btn-ghost-sm px-2 {./class}" type="button" title="{./title}" data-bs-toggle="tooltip"><i class="fa {./icon}"></i></button>
13
+ {{{ end }}}
11
14
  <button class="btn btn-primary btn-sm px-2 rounded-1" type="button" data-action="send" title="[[modules:chat.send]]" data-bs-toggle="tooltip"><i class="fa fa-fw fa-paper-plane"></i></button>
12
15
  </div>
13
16
  </div>