nodebb-theme-harmony 2.2.45 → 2.2.47
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nodebb-theme-harmony",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.47",
|
|
4
4
|
"nbbpm": {
|
|
5
5
|
"compatibility": "^4.0.0"
|
|
6
6
|
},
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@fontsource/poppins": "5.2.7"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"eslint": "10.0.
|
|
48
|
+
"eslint": "10.0.3",
|
|
49
49
|
"eslint-config-nodebb": "^2.0.0"
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -99,8 +99,8 @@
|
|
|
99
99
|
|
|
100
100
|
<div class="mb-3">
|
|
101
101
|
<div class="d-flex gap-4 align-items-center justify-content-between mb-3">
|
|
102
|
-
<label class="form-label text-sm mb-0" for="unreadCutoff">[[user:unread.cutoff, {
|
|
103
|
-
<input id="unreadCutoff" value="{settings.unreadCutoff}" type="number" class="form-control form-control-sm text-end" data-property="unreadCutoff" min="1" max="{
|
|
102
|
+
<label class="form-label text-sm mb-0" for="unreadCutoff">[[user:unread.cutoff, {maxUnreadCutoff}]]</label>
|
|
103
|
+
<input id="unreadCutoff" value="{settings.unreadCutoff}" type="number" class="form-control form-control-sm text-end" data-property="unreadCutoff" min="1" max="{maxUnreadCutoff}" style="max-width: 64px;">
|
|
104
104
|
</div>
|
|
105
105
|
<p class="form-text text-xs">[[user:unread.cutoff-help]]</p>
|
|
106
106
|
</div>
|
|
@@ -13,25 +13,25 @@
|
|
|
13
13
|
</div>
|
|
14
14
|
</div>
|
|
15
15
|
|
|
16
|
-
<div class="d-flex flex-column flex-md-row justify-content-md-between pb-4 mb-4 mt-2 border-bottom">
|
|
17
|
-
<div class="d-flex flex-column mt-1">
|
|
18
|
-
<div class="d-flex align-items-center gap-2">
|
|
16
|
+
<div class="d-flex flex-column flex-md-row justify-content-md-between pb-4 mb-4 mt-2 border-bottom gap-3">
|
|
17
|
+
<div class="d-flex flex-column mt-1 gap-2">
|
|
18
|
+
<div class="d-flex flex-column flex-md-row align-items-md-center gap-2">
|
|
19
19
|
<h3 class="mb-0 text-capitalize">{group.displayName}</h3>
|
|
20
|
-
</div>
|
|
21
|
-
<div class="d-flex gap-2">
|
|
22
|
-
{group.descriptionParsed}
|
|
23
20
|
<div>
|
|
24
21
|
{{{ if group.private }}}<span class="badge text-bg-light border border-1">[[groups:details.private]]</span>{{{ end }}}
|
|
25
22
|
{{{ if group.hidden }}}<span class="badge text-bg-light border border-1">[[groups:details.hidden]]</span>{{{ end }}}
|
|
26
23
|
</div>
|
|
27
24
|
</div>
|
|
25
|
+
<div>
|
|
26
|
+
{group.descriptionParsed}
|
|
27
|
+
</div>
|
|
28
28
|
</div>
|
|
29
29
|
<div class="d-flex gap-2 align-items-start">
|
|
30
30
|
{{{ if loggedIn }}}
|
|
31
31
|
{function.membershipBtn, group}
|
|
32
32
|
{{{ end }}}
|
|
33
33
|
{{{ if isAdmin }}}
|
|
34
|
-
<a href="{config.relative_path}/admin/manage/groups/{group.slug}" target="_blank" class="btn btn-light"><i class="fa fa-gear"></i> [[user:edit]]</a>
|
|
34
|
+
<a href="{config.relative_path}/admin/manage/groups/{group.slug}" target="_blank" class="btn btn-light text-nowrap"><i class="fa fa-gear"></i> [[user:edit]]</a>
|
|
35
35
|
{{{ end }}}
|
|
36
36
|
</div>
|
|
37
37
|
</div>
|
|
@@ -6,9 +6,10 @@
|
|
|
6
6
|
<div class="card-body d-flex flex-column gap-1 border border-top-0 rounded-bottom h-100">
|
|
7
7
|
<div class="d-flex">
|
|
8
8
|
<div class="flex-grow-1 fs-6 fw-semibold text-capitalize">{./displayName}</div>
|
|
9
|
-
<div class="flex-shrink-0 text-
|
|
9
|
+
<div class="align-self-start flex-shrink-0 badge border border-gray-300 fw-normal text-body"><i class="text-secondary fa-solid fa-users"></i> {formattedNumber(./memberCount)}</div>
|
|
10
10
|
</div>
|
|
11
|
-
<div class="text-sm">{./description}</div>
|
|
11
|
+
<div class="text-sm line-clamp-3">{./description}</div>
|
|
12
|
+
<span class="timeago text-xs text-secondary mt-auto" title="{./createtimeISO}"></span>
|
|
12
13
|
</div>
|
|
13
14
|
</a>
|
|
14
15
|
</div>
|