nodebb-theme-persona 13.2.8 → 13.2.10
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
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{{{ else }}}
|
|
8
8
|
<div component="chat/header" class="d-flex align-items-center px-md-3 gap-3">
|
|
9
9
|
<a href="#" data-action="close" role="button" class="flex-shrink-0 d-flex d-md-none btn btn-outline align-text-top"><i class="fa fa-chevron-left"></i></a>
|
|
10
|
-
<h5 class="members flex-grow-1 fw-semibold tracking-tight mb-0">
|
|
10
|
+
<h5 class="members flex-grow-1 fw-semibold tracking-tight mb-0 text-truncate text-nowrap">
|
|
11
11
|
{{{ if ./roomName }}}<i class="fa {icon} text-muted"></i> {roomName}{{{ else }}}{./chatWithMessage}{{{ end}}}
|
|
12
12
|
</h5>
|
|
13
13
|
|
|
@@ -17,9 +17,15 @@
|
|
|
17
17
|
<div class="d-flex flex-grow-1 gap-1 overflow-auto" style="min-width: 0px;">
|
|
18
18
|
<div component="chat/messages" class="expanded-chat d-flex flex-column flex-grow-1" data-roomid="{roomId}" style="min-width: 0px;">
|
|
19
19
|
<!-- IMPORT partials/chats/scroll-up-alert.tpl -->
|
|
20
|
-
<ul class="chat-content p-0 m-0 list-unstyled overflow-auto flex-grow-1">
|
|
20
|
+
<ul component="chat/message/content" class="chat-content p-0 m-0 list-unstyled overflow-auto flex-grow-1">
|
|
21
21
|
<!-- IMPORT partials/chats/messages.tpl -->
|
|
22
22
|
</ul>
|
|
23
|
+
<ul component="chat/message/search/results" class="chat-content p-0 m-0 list-unstyled overflow-auto flex-grow-1 hidden">
|
|
24
|
+
<div component="chat/message/search/no-results" class="text-center p-4 d-flex flex-column">
|
|
25
|
+
<div class="p-4"><i class="fa-solid fa-wind fs-2 text-muted"></i></div>
|
|
26
|
+
<div class="text-xs fw-semibold text-muted">[[search:no-matches]]</div>
|
|
27
|
+
</div>
|
|
28
|
+
</ul>
|
|
23
29
|
<!-- IMPORT partials/chats/composer.tpl -->
|
|
24
30
|
</div>
|
|
25
31
|
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
<div class="d-flex gap-1 align-items-stretch">
|
|
2
|
+
<!-- search -->
|
|
3
|
+
<div class="position-relative align-self-center">
|
|
4
|
+
<input component="chat/room/search" class="form-control form-control-sm" placeholder="[[search:type-to-search]]" style="width: 150px;">
|
|
5
|
+
<a component="chat/room/search/clear" href="#" class="hidden px-2 py-1 position-absolute top-50 end-0 translate-middle-y">
|
|
6
|
+
<i class="fa fa-times text-muted opacity-75"></i>
|
|
7
|
+
</a>
|
|
8
|
+
</div>
|
|
9
|
+
|
|
2
10
|
<!-- notification dropdown -->
|
|
3
11
|
<div class="dropdown d-flex" data-manual-tooltip="1" title="[[modules:chat.notification-settings]]">
|
|
4
12
|
<button class="btn btn-sm btn-light position-relative" data-bs-toggle="dropdown">
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<div class="position-relative">
|
|
2
|
-
<div component="chat/messages/scroll-up-alert" class="py-1 position-absolute start-50 translate-middle-x text-sm scroll-up-alert alert alert-info d-none d-md-block text-nowrap" role="button" style="z-index: 500;"><i class="fa fa-fw fa-arrow-down"></i> [[modules:chat.scroll-up-alert]]</div>
|
|
2
|
+
<div component="chat/messages/scroll-up-alert" class="py-1 position-absolute start-50 translate-middle-x text-sm scroll-up-alert alert alert-info d-none d-md-block text-nowrap hidden" role="button" style="z-index: 500;"><i class="fa fa-fw fa-arrow-down"></i> [[modules:chat.scroll-up-alert]]</div>
|
|
3
3
|
</div>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<li component="chat/system-message" class="system-message fs-6 py-3 clear" data-index="{messages.index}" data-mid="{messages.messageId}" data-uid="{messages.fromuid}" data-self="{messages.self}" data-break="0" data-timestamp="{messages.timestamp}">
|
|
2
|
-
[[modules:chat.system.{messages.content}, {messages.fromUser.username}]]
|
|
2
|
+
[[modules:chat.system.{messages.content}, {messages.fromUser.username}, {messages.timestampISO}]]
|
|
3
3
|
</li>
|