nodebb-theme-persona 13.2.29 → 13.2.31
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
|
@@ -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>
|
|
@@ -14,9 +14,8 @@
|
|
|
14
14
|
<span class="badge bg-danger">[[user:deleted]]</span>
|
|
15
15
|
<!-- END -->
|
|
16
16
|
<small class="chat-timestamp text-muted ms-2 timeago" title="{messages.timestampISO}"></small>
|
|
17
|
-
|
|
18
|
-
<div class="text-muted float-end" title="[[global:edited
|
|
19
|
-
<!-- ENDIF messages.edited -->
|
|
17
|
+
|
|
18
|
+
<div component="chat/message/edited" class="text-muted float-end {{{ if !messages.edited }}}hidden{{{ end }}}" title="[[global:edited-timestamp, {messages.editedISO}]]"><i class="fa fa-edit"></i></span></div>
|
|
20
19
|
</div>
|
|
21
20
|
<div class="message-body-wrapper">
|
|
22
21
|
<div component="chat/message/body" class="message-body">
|
|
@@ -10,13 +10,18 @@
|
|
|
10
10
|
<span class="chat-user fw-semibold"><a href="{config.relative_path}/user/{messages.fromUser.userslug}">{messages.fromUser.displayname}</a></span>
|
|
11
11
|
|
|
12
12
|
<span class="chat-timestamp text-muted timeago" title="{messages.timestampISO}"></span>
|
|
13
|
+
|
|
14
|
+
<div component="chat/message/edited" class="text-muted float-end {{{ if !messages.edited }}}hidden{{{ end }}}" title="[[global:edited-timestamp, {messages.editedISO}]]"><i class="fa fa-edit"></i></span></div>
|
|
13
15
|
</div>
|
|
14
16
|
<div class="message-body-wrapper hover-parent">
|
|
15
17
|
<div component="chat/message/body" class="message-body ps-0 py-0 overflow-auto text-break">
|
|
16
18
|
{messages.content}
|
|
17
19
|
</div>
|
|
18
20
|
<div component="chat/message/controls" class="position-relative">
|
|
19
|
-
<div class="
|
|
21
|
+
<div class="btn-group border shadow-sm controls position-absolute bg-body hover-d-block end-0" style="bottom:1rem;">
|
|
22
|
+
{{{ if (isAdminOrGlobalMod || (!config.disableChatMessageEditing && messages.self)) }}}
|
|
23
|
+
<button class="btn btn-sm btn-link" data-action="edit" title="[[topic:edit]]"><i class="fa fa-pencil"></i></button>
|
|
24
|
+
{{{ end }}}
|
|
20
25
|
{{{ if (isAdminOrGlobalMod || isOwner )}}}
|
|
21
26
|
<button class="btn btn-sm btn-link" data-action="pin" title="[[modules:chat.pin-message]]"><i class="fa fa-thumbtack"></i></button>
|
|
22
27
|
<button class="btn btn-sm btn-link" data-action="unpin" title="[[modules:chat.unpin-message]]"><i class="fa fa-thumbtack fa-rotate-90"></i></button>
|