nodebb-theme-persona 13.2.29 → 13.2.30
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
|
@@ -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>
|