nodebb-theme-harmony 2.2.46 → 2.2.48
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,5 +1,5 @@
|
|
|
1
1
|
<div component="groups/container" class="groups details flex-fill">
|
|
2
|
-
<div class="cover position-absolute start-0 top-0" component="groups/cover" style="background-image: url({group.cover:url}); background-position: {group.cover:position};">
|
|
2
|
+
<div class="cover position-absolute start-0 top-0" component="groups/cover" style="background-image: url({group.cover:url}?{config.cache-buster}); background-position: {group.cover:position};">
|
|
3
3
|
<div class="container">
|
|
4
4
|
{{{ if group.isOwner }}}
|
|
5
5
|
<div class="controls text-center">
|
|
@@ -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>
|