nodebb-theme-harmony 1.0.49 → 1.0.51
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/chats.tpl
CHANGED
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
<div class="chat-search dropdown mb-2">
|
|
4
4
|
<div class="input-group">
|
|
5
5
|
<input class="form-control form-control-sm" type="text" component="chat/search" data-bs-toggle="dropdown" placeholder="[[users:search-user-for-chat]]"/>
|
|
6
|
-
<ul component="chat/search/list" class="dropdown-menu">
|
|
7
|
-
<li><a href="#" class="dropdown-item rounded-1">[[admin/menu:search.start-typing]]</a></li>
|
|
6
|
+
<ul component="chat/search/list" class="dropdown-menu p-1">
|
|
7
|
+
<li component="chat/search/start-typing"><a href="#" class="dropdown-item rounded-1">[[admin/menu:search.start-typing]]</a></li>
|
|
8
|
+
<li component="chat/search/no-users" class="hidden"><a href="#" class="dropdown-item rounded-1">[[users:no-users-found]]</a></li>
|
|
9
|
+
{{{ each searchUsers }}}
|
|
10
|
+
<li component="chat/search/user" data-uid="{./uid}"><a href="#" class="dropdown-item rounded-1">{buildAvatar(@value, "24px", true)} {./username}<a></a></li>
|
|
11
|
+
{{{ end }}}
|
|
8
12
|
</ul>
|
|
9
13
|
<button class="btn btn-primary btn-sm" type="button">
|
|
10
14
|
<i class="fa fa-search"></i>
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
|
|
80
80
|
<div class="clearfix">
|
|
81
81
|
{{{ if !hideReplies }}}
|
|
82
|
-
<a component="post/reply-count" data-target-component="post/replies/container" href="#" class="d-flex gap-2 align-items-center mt-2 btn-outline border rounded-1 p-1 threaded-replies user-select-none float-start text-muted text-decoration-none {{{ if
|
|
82
|
+
<a component="post/reply-count" data-target-component="post/replies/container" href="#" class="d-flex gap-2 align-items-center mt-2 btn-outline border rounded-1 p-1 threaded-replies user-select-none float-start text-muted text-decoration-none {{{ if (!./replies || shouldHideReplyContainer(@value)) }}}hidden{{{ end }}}">
|
|
83
83
|
<span component="post/reply-count/avatars" class="avatars d-inline-flex gap-1 align-items-top {{{ if posts.replies.hasMore }}}hasMore{{{ end }}}">
|
|
84
84
|
{{{each posts.replies.users}}}
|
|
85
85
|
<span>{buildAvatar(posts.replies.users, "20px", true, "avatar-tooltip")}</span>
|