nodebb-theme-harmony 0.0.5 → 0.0.6
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
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
<!-- IF roomId -->
|
|
2
2
|
<div component="chat/messages" class="expanded-chat d-flex flex-column h-100" data-roomid="{roomId}">
|
|
3
3
|
<div component="chat/header" class="d-flex align-items-center px-3 gap-1">
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
<a href="{config.relative_path}/uid/{../uid}">{../username}</a><!-- IF !@last -->,<!-- END -->
|
|
8
|
-
{{{end}}}
|
|
9
|
-
</span>
|
|
4
|
+
<h5 class="members flex-1 fw-semibold tracking-tight">
|
|
5
|
+
{./chatWithMessage}
|
|
6
|
+
</h5>
|
|
10
7
|
|
|
11
8
|
<!-- IMPORT partials/chats/options.tpl -->
|
|
12
9
|
</div>
|
|
13
10
|
<hr class="text-muted opacity-25"/>
|
|
14
11
|
<div class="position-relative">
|
|
15
|
-
<div component="chat/messages/scroll-up-alert" class="position-absolute scroll-up-alert alert alert-info hidden w-
|
|
12
|
+
<div component="chat/messages/scroll-up-alert" class="position-absolute me-4 end-0 text-sm scroll-up-alert alert alert-info hidden w-25" role="button" style="z-index: 1;">[[modules:chat.scroll-up-alert]]</div>
|
|
16
13
|
</div>
|
|
17
14
|
<ul class="chat-content p-0 m-0 list-unstyled overflow-auto flex-grow-1">
|
|
18
15
|
<!-- IMPORT partials/chats/messages.tpl -->
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<li component="chat/message" class="chat-message mx-2 pe-2 fw-light clear
|
|
1
|
+
<li component="chat/message" class="chat-message mx-2 pe-2 fw-light clear{{{ if ./deleted }}} deleted{{{ end }}} {{{ if messages.newSet }}}border-top pt-3{{{ end }}}" data-index="{messages.index}" data-mid="{messages.messageId}" data-uid="{messages.fromuid}" data-self="{messages.self}" data-break="{messages.newSet}" data-timestamp="{messages.timestamp}">
|
|
2
2
|
<div class="message-header {{{ if !messages.newSet }}}hidden{{{ end }}} pb-2">
|
|
3
3
|
<a href="{config.relative_path}/user/{messages.fromUser.userslug}" class="text-decoration-none">{buildAvatar(messages.fromUser, "24px", false, "not-responsive rounded")}</a>
|
|
4
4
|
<span class="chat-user fw-bold"><a href="{config.relative_path}/user/{messages.fromUser.userslug}">{messages.fromUser.displayname}</a></span>
|