nodebb-theme-harmony 1.1.14 → 1.1.16
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
package/templates/chats.tpl
CHANGED
|
@@ -18,9 +18,8 @@
|
|
|
18
18
|
<div class="d-flex gap-1 flex-column">
|
|
19
19
|
{{{ each publicRooms }}}
|
|
20
20
|
<div component="chat/public/room" class="btn-ghost-sm ff-sans justify-content-between hover-parent {{{ if ./unread}}}unread{{{ end }}}" data-roomid="{./roomId}">
|
|
21
|
-
<div><i class="fa {./icon} text-muted"></i> {./roomName}</div>
|
|
22
|
-
<div
|
|
23
|
-
<div component="chat/public/room/unread/count" data-count="{./unreadCount}" class="badge border bg-light text-primary {{{ if !./unreadCount }}}hidden{{{ end }}}">{./unreadCountText}</div>
|
|
21
|
+
<div class="d-flex gap-1 align-items-center"><i class="fa {./icon} text-muted"></i> {./roomName} <div component="chat/public/room/unread/count" data-count="{./unreadCount}" class="badge border bg-light text-primary {{{ if !./unreadCount }}}hidden{{{ end }}}">{./unreadCountText}</div></div>
|
|
22
|
+
<div>
|
|
24
23
|
<div component="chat/public/room/sort/handle" class="text-muted {{{ if isAdmin }}}hover-d-block{{{ else }}}d-none{{{ end }}}" style="cursor:grab;"><i class="fa fa-bars"></i></div>
|
|
25
24
|
</div>
|
|
26
25
|
</div>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<a class="flex-grow-0 flex-shrink-0" href="{config.relative_path}/user/{./user.userslug}"><div class="avatar avatar-rounded" style="--avatar-size: 32px; background-color: {./user.icon:bgColor};">{./user.icon:text}</div></a>
|
|
18
18
|
{{{ end }}}
|
|
19
19
|
<div class="d-flex flex-grow-1 flex-column align-items-start position-relative">
|
|
20
|
-
<a href="{./path}" class="text-decoration-none d-inline-block text-reset text-break text-sm ff-sans stretched-link">
|
|
20
|
+
<a href="{./path}" class="text-decoration-none d-inline-block text-reset text-break text-sm ff-sans stretched-link" component="notifications/item/link">
|
|
21
21
|
{./bodyShort}
|
|
22
22
|
</a>
|
|
23
23
|
<div class="text-xs text-muted">{{{ if ./timeagoLong }}}{./timeagoLong}{{{ else }}}<span class="timeago" title="{./datetimeISO}"></span>{{{ end }}}</div>
|