nodebb-theme-harmony 1.1.38 → 1.1.40
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
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
<div class="list-group">
|
|
97
97
|
{{{ each sso }}}
|
|
98
98
|
<div class="list-group-item d-flex align-items-center justify-content-between">
|
|
99
|
-
<a class="text-sm text-reset text-decoration-none" data-component="{./component}" href="{./url}" target="{{{ if ./associated }}}_blank{{{ else }}}_top{{{ end }}}">
|
|
99
|
+
<a class="text-sm text-reset text-decoration-none" data-component="{./component}" href="{{{ if ./url }}}{./url}{{{ else }}}#{{{ end }}}" target="{{{ if ./associated }}}_blank{{{ else }}}_top{{{ end }}}">
|
|
100
100
|
{{{ if ./icon }}}<i class="fa {./icon}"></i>{{{ end }}}
|
|
101
101
|
{{{ if ./associated }}}[[user:sso.associated]]{{{ else }}}[[user:sso.not-associated]]{{{ end }}}
|
|
102
102
|
{./name}
|
package/templates/chat.tpl
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div id="chat-modal" class="chat-modal d-flex flex-nowrap modal hide overflow-visible" tabindex="-1" role="dialog" aria-labelledby="Chat" aria-hidden="true" data-center="false">
|
|
2
2
|
<div class="modal-dialog">
|
|
3
|
-
<div class="modal-content">
|
|
3
|
+
<div class="modal-content" component="chat/message/window">
|
|
4
4
|
<div class="modal-header d-flex gap-4 justify-content-between">
|
|
5
5
|
<div class="fs-6 flex-grow-1" component="chat/room/name" data-icon="{icon}">{{{ if ./roomName }}}<i class="fa {icon} text-muted"></i> {roomName}{{{ else }}}{./chatWithMessage}{{{ end}}}</div>
|
|
6
6
|
<div class="d-flex gap-1 align-items-center">
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
<button id="chat-close-btn" type="button" class="btn-close btn-ghost-sm" data-bs-dismiss="modal" aria-label="Close"></button>
|
|
14
14
|
</div>
|
|
15
15
|
</div>
|
|
16
|
-
|
|
16
|
+
<!-- IMPORT partials/chats/scroll-up-alert.tpl -->
|
|
17
17
|
<div class="modal-body d-flex flex-column" style="height: 500px;">
|
|
18
18
|
<div class="d-flex flex-grow-1 gap-1 overflow-auto" style="min-width: 0px;">
|
|
19
19
|
<div component="chat/messages" class="expanded-chat d-flex flex-column flex-grow-1" data-roomid="{roomId}" style="min-width: 0px;">
|
|
20
|
-
|
|
20
|
+
|
|
21
21
|
<ul component="chat/message/content" class="chat-content p-0 m-0 list-unstyled overflow-auto flex-grow-1">
|
|
22
22
|
<!-- IMPORT partials/chats/messages.tpl -->
|
|
23
23
|
</ul>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div class="d-flex flex-column h-100">
|
|
1
|
+
<div component="chat/message/window" class="d-flex flex-column h-100">
|
|
2
2
|
{{{ if widgets.header.length }}}
|
|
3
3
|
<div data-widget-area="header">
|
|
4
4
|
{{{each widgets.header}}}
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
|
|
21
21
|
<!-- IMPORT partials/chats/options.tpl -->
|
|
22
22
|
</div>
|
|
23
|
+
<!-- IMPORT partials/chats/scroll-up-alert.tpl -->
|
|
23
24
|
<hr class="my-1"/>
|
|
24
25
|
<div class="d-flex flex-grow-1 gap-1 overflow-auto" style="min-width: 0px;">
|
|
25
26
|
<div component="chat/messages" class="expanded-chat d-flex flex-column flex-grow-1" data-roomid="{roomId}" style="min-width: 0px;">
|
|
26
|
-
<!-- IMPORT partials/chats/scroll-up-alert.tpl -->
|
|
27
27
|
<ul component="chat/message/content" class="chat-content p-0 m-0 list-unstyled overflow-auto flex-grow-1">
|
|
28
28
|
<!-- IMPORT partials/chats/messages.tpl -->
|
|
29
29
|
</ul>
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
<div class="btn-group border shadow-sm controls position-absolute bg-body hover-d-block end-0" style="bottom:1rem;">
|
|
40
40
|
<!-- IMPORT partials/chats/add-reaction.tpl -->
|
|
41
41
|
<button class="btn btn-sm btn-link" data-action="reply"><i class="fa fa-reply"></i></button>
|
|
42
|
-
{{{ if (!config.disableChatMessageEditing && messages.self) }}}
|
|
42
|
+
{{{ if (isAdminOrGlobalMod || (!config.disableChatMessageEditing && messages.self)) }}}
|
|
43
43
|
<button class="btn btn-sm btn-link" data-action="edit"><i class="fa fa-pencil"></i></button>
|
|
44
44
|
<button class="btn btn-sm btn-link" data-action="delete"><i class="fa fa-trash"></i></button>
|
|
45
45
|
<button class="btn btn-sm btn-link" data-action="restore"><i class="fa fa-repeat"></i></button>
|
|
@@ -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
|
|
2
|
+
<div component="chat/messages/scroll-up-alert" class="py-1 mt-1 position-absolute start-50 top-50 translate-middle 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>
|