nodebb-theme-harmony 1.1.37 → 1.1.39
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>
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
{{{ if messages.parent }}}
|
|
4
4
|
<div class="d-flex ms-4 mb-2 align-items-center">
|
|
5
|
-
<div component="chat/message/parent" data-parent-mid="{messages.parent.mid}" data-uid="{messages.parent.fromuid}" class="btn-ghost-sm align-items-start flex-row
|
|
6
|
-
<div class="d-flex gap-2 text-sm">
|
|
5
|
+
<div component="chat/message/parent" data-parent-mid="{messages.parent.mid}" data-uid="{messages.parent.fromuid}" class="btn-ghost-sm align-items-start flex-row w-100">
|
|
6
|
+
<div class="d-flex gap-2 text-sm text-nowrap">
|
|
7
7
|
<div><i class="fa fa-sm fa-reply opacity-50"></i></div>
|
|
8
8
|
<div class="d-flex flex-nowrap gap-1 align-items-center">
|
|
9
9
|
<a href="{config.relative_path}/user/{messages.parent.user.userslug}" class="text-decoration-none lh-1">{buildAvatar(messages.parent.user, "14px", true, "not-responsive align-middle")}</a>
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
</div>
|
|
12
12
|
<span class="chat-timestamp text-muted timeago text-nowrap hidden" title="{messages.parent.timestampISO}"></span>
|
|
13
13
|
</div>
|
|
14
|
-
<div component="chat/message/parent/content" class="text-muted line-clamp-1">{messages.parent.content}</div>
|
|
14
|
+
<div component="chat/message/parent/content" class="text-muted line-clamp-1 w-100">{messages.parent.content}</div>
|
|
15
15
|
</div>
|
|
16
16
|
</div>
|
|
17
17
|
{{{ end }}}
|
|
@@ -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>
|