nodebb-theme-persona 13.0.57 → 13.0.58
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
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
{messages.content}
|
|
19
19
|
</div>
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
<!-- IF messages.self -->
|
|
21
|
+
{{{ if (isAdminOrGlobalMod || (!config.disableChatMessageEditing && messages.self)) }}}
|
|
23
22
|
<div component="chat/message/controls" class="btn-group controls">
|
|
23
|
+
{{{ if (!config.disableChatMessageEditing && messages.self) }}}
|
|
24
24
|
<button class="btn btn-sm btn-link" data-action="edit"><i class="fa fa-pencil"></i></button>
|
|
25
25
|
<button class="btn btn-sm btn-link" data-action="delete"><i class="fa fa-times"></i></button>
|
|
26
26
|
<button class="btn btn-sm btn-link" data-action="restore"><i class="fa fa-repeat"></i></button>
|
|
27
|
-
|
|
27
|
+
{{{ end }}}
|
|
28
|
+
{{{ if isAdminOrGlobalMod }}}
|
|
28
29
|
<button class="btn btn-sm btn-link chat-ip" title="[[modules:chat.show-ip]]"><i class="fa fa-info-circle chat-ip-button"></i></button>
|
|
29
|
-
|
|
30
|
+
{{{ end }}}
|
|
30
31
|
</div>
|
|
31
|
-
|
|
32
|
-
<!-- ENDIF !config.disableChatMessageEditing -->
|
|
32
|
+
{{{ end }}}
|
|
33
33
|
</div>
|
|
34
34
|
</li>
|