nodebb-theme-harmony 1.1.61 → 1.1.63
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
package/templates/category.tpl
CHANGED
|
@@ -28,16 +28,15 @@
|
|
|
28
28
|
<div class="row mt-3">
|
|
29
29
|
<div class="category d-flex flex-column {{{if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
|
|
30
30
|
<!-- IMPORT partials/category/subcategory.tpl -->
|
|
31
|
-
|
|
31
|
+
{{{ if (topics.length || privileges.topics:create) }}}
|
|
32
32
|
<!-- IMPORT partials/topic-list-bar.tpl -->
|
|
33
|
+
{{{ end }}}
|
|
33
34
|
|
|
34
|
-
{{{ if !topics.length }}}
|
|
35
|
-
{{{ if privileges.topics:create }}}
|
|
35
|
+
{{{ if (!topics.length && privileges.topics:create) }}}
|
|
36
36
|
<div class="alert alert-info" id="category-no-topics">
|
|
37
37
|
[[category:no_topics]]
|
|
38
38
|
</div>
|
|
39
39
|
{{{ end }}}
|
|
40
|
-
{{{ end }}}
|
|
41
40
|
|
|
42
41
|
<!-- IMPORT partials/topics_list.tpl -->
|
|
43
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-ghost-sm px-2" type="button" data-action="send" title="[[modules:chat.send]]" data-bs-toggle="tooltip"><i class="fa fa-fw fa-paper-plane text-primary"></i></button>
|
|
12
15
|
</div>
|
|
13
16
|
</div>
|