nodebb-theme-harmony 1.0.25 → 1.0.27
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 +1 -1
- package/templates/partials/account/header.tpl +2 -2
- package/templates/partials/chats/recent_room.tpl +3 -1
- package/templates/partials/notifications_list.tpl +7 -4
- package/templates/partials/sidebar/notifications.tpl +4 -4
- package/templates/partials/userFilter-placeholders.tpl +0 -5
package/package.json
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
<div class="d-flex flex-column flex-md-row mt-1 justify-content-between w-100 gap-2">
|
|
35
35
|
<div class="d-flex flex-grow-1 flex-row gap-2">
|
|
36
|
-
<div class="d-flex flex-column">
|
|
36
|
+
<div class="d-flex flex-column gap-1">
|
|
37
37
|
<h2 class="fullname fw-semibold fs-2 tracking-tight mb-0">{{{ if fullname }}}{fullname}{{{ else }}}{username}{{{ end }}}</h2>
|
|
38
38
|
<div class="d-flex flex-wrap gap-1 text-sm align-items-center">
|
|
39
39
|
<span class="username fw-bold">{{{ if !banned }}}@{username}{{{ else }}}[[user:banned]]{{{ end }}}</span>
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
{{{ end }}}
|
|
48
48
|
</div>
|
|
49
49
|
</div>
|
|
50
|
-
|
|
50
|
+
<div class="d-flex gap-2" component="user/badges"></div>
|
|
51
51
|
{{{ if isAdminOrGlobalModeratorOrModerator }}}
|
|
52
52
|
{{{ if banned }}}
|
|
53
53
|
<div class="text-xm text-muted">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div component="chat/recent/room" data-roomid="{./roomId}" data-full="1" class="rounded-1 {{{ if ./unread }}}unread{{{ end }}}">
|
|
2
|
-
<div class="d-flex gap-1 justify-content-between
|
|
2
|
+
<div class="d-flex gap-1 justify-content-between">
|
|
3
3
|
<div class="chat-room-btn position-relative d-flex flex-grow-1 gap-2 justify-content-start align-items-start btn-ghost-sm ff-sans">
|
|
4
4
|
<div class="main-avatar">
|
|
5
5
|
{{{ if ./users.length }}}
|
|
@@ -42,4 +42,6 @@
|
|
|
42
42
|
</div>
|
|
43
43
|
</div>
|
|
44
44
|
</div>
|
|
45
|
+
{{{ if !@last }}}
|
|
45
46
|
<hr class="my-1" />
|
|
47
|
+
{{{ end }}}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{{{ if !notifications.length }}}
|
|
2
|
-
<
|
|
2
|
+
<div class="no-notifs text-center p-4 d-flex flex-column">
|
|
3
3
|
<div class="p-4"><i class="fa-solid fa-wind fs-2 text-muted"></i></div>
|
|
4
4
|
<div class="text-xs fw-semibold text-muted">[[notifications:no_notifs]]</div>
|
|
5
|
-
</
|
|
5
|
+
</div>
|
|
6
6
|
{{{ end }}}
|
|
7
7
|
|
|
8
8
|
{{{ each notifications }}}
|
|
9
|
-
<
|
|
9
|
+
<div class="{./readClass}" data-nid="{./nid}" data-path="{./path}" {{{ if ./pid }}}data-pid="{./pid}"{{{ end }}}{{{ if ./tid }}}data-tid="{./tid}"{{{ end }}}>
|
|
10
10
|
<div class="d-flex gap-1 justify-content-between">
|
|
11
11
|
<div class="btn-ghost-sm d-flex gap-2 flex-grow-1 align-items-start">
|
|
12
12
|
{{{ if ./image }}}
|
|
@@ -32,5 +32,8 @@
|
|
|
32
32
|
{{{ end }}}
|
|
33
33
|
</div>
|
|
34
34
|
</div>
|
|
35
|
-
</
|
|
35
|
+
</div>
|
|
36
|
+
{{{ if !@last }}}
|
|
37
|
+
<hr class="my-1" />
|
|
38
|
+
{{{ end }}}
|
|
36
39
|
{{{end}}}
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
</a>
|
|
11
11
|
<ul class="notifications-dropdown dropdown-menu p-1 shadow">
|
|
12
12
|
<li>
|
|
13
|
-
<
|
|
14
|
-
<
|
|
13
|
+
<div component="notifications/list" class="list-container notification-list overscroll-behavior-contain pe-1 ff-base">
|
|
14
|
+
<div class="mb-2 p-1">
|
|
15
15
|
<div class="d-flex gap-1 justify-content-between">
|
|
16
16
|
<div class="d-flex gap-2 flex-grow-1 placeholder-wave">
|
|
17
17
|
<div class="placeholder" style="width: 32px; height: 32px;"></div>
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
</button>
|
|
37
37
|
</div>
|
|
38
38
|
</div>
|
|
39
|
-
</
|
|
40
|
-
</
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
41
|
</li>
|
|
42
42
|
<li class="dropdown-divider"></li>
|
|
43
43
|
<li>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<div class="placeholder-wave w-100 d-flex gap-2">
|
|
2
|
-
<button class="btn btn-light btn-sm border placeholder col-3"></button>
|
|
3
|
-
<button class="btn btn-light btn-sm border placeholder col-4"></button>
|
|
4
|
-
<button class="btn btn-light btn-sm border placeholder col-3"></button>
|
|
5
|
-
</div>
|