nodebb-theme-persona 14.1.19 → 14.1.20
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,11 +1,11 @@
|
|
|
1
|
-
<!-- IF ../isSection -->
|
|
2
|
-
{../name}
|
|
3
|
-
<!-- ELSE -->
|
|
4
|
-
<!-- IF ../link -->
|
|
5
|
-
<a href="{../link}" itemprop="url">
|
|
6
|
-
<!-- ELSE -->
|
|
7
|
-
<a href="{config.relative_path}/category/{../slug}" itemprop="url">
|
|
8
|
-
<!-- ENDIF ../link -->
|
|
9
|
-
{../name}
|
|
10
|
-
</a>
|
|
1
|
+
<!-- IF ../isSection -->
|
|
2
|
+
{../name}
|
|
3
|
+
<!-- ELSE -->
|
|
4
|
+
<!-- IF ../link -->
|
|
5
|
+
<a href="{../link}" itemprop="url">
|
|
6
|
+
<!-- ELSE -->
|
|
7
|
+
<a href="{config.relative_path}/category/{../slug}" itemprop="url">
|
|
8
|
+
<!-- ENDIF ../link -->
|
|
9
|
+
{../name}
|
|
10
|
+
</a>
|
|
11
11
|
<!-- ENDIF ../isSection -->
|
|
@@ -13,28 +13,30 @@
|
|
|
13
13
|
</div>
|
|
14
14
|
|
|
15
15
|
<div component="groups/members" data-nextstart="{group.membersNextStart}" style="max-height: 500px; overflow: auto;">
|
|
16
|
-
<table class="table table-
|
|
16
|
+
<table class="table table-hover">
|
|
17
17
|
<tbody>
|
|
18
18
|
{{{each group.members}}}
|
|
19
|
-
<tr data-uid="{group.members.uid}" data-isowner="{{{ if group.members.isOwner }}}1{{{ else }}}0{{{ end }}}">
|
|
20
|
-
<td class="p-2">
|
|
21
|
-
<
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
<tr class="w-100" data-uid="{group.members.uid}" data-isowner="{{{ if group.members.isOwner }}}1{{{ else }}}0{{{ end }}}">
|
|
20
|
+
<td class="member-name p-2 w-100 ">
|
|
21
|
+
<div class="d-flex align-items-center justify-content-between">
|
|
22
|
+
<div class="d-flex align-items-center gap-2">
|
|
23
|
+
<a class="text-decoration-none" href="{config.relative_path}/user/{group.members.userslug}">{buildAvatar(group.members, "24px", true)}</a>
|
|
24
|
+
<a class="align-text-top" href="{config.relative_path}/user/{group.members.userslug}">{group.members.username}</a>
|
|
25
|
+
<i component="groups/owner/icon" title="[[groups:owner]]" class="user-owner-icon fa fa-star align-text-top text-warning {{{ if !group.members.isOwner }}}invisible{{{ end }}}"></i>
|
|
26
|
+
</div>
|
|
26
27
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
{{{ if group.isOwner }}}
|
|
29
|
+
<div class="owner-controls d-flex gap-1">
|
|
30
|
+
<a class="btn btn-light btn-sm" href="#" data-action="toggleOwnership" title="[[groups:details.grant]]">
|
|
31
|
+
<i class="fa fa-star text-warning"></i>
|
|
32
|
+
</a>
|
|
32
33
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
<a class="btn btn-light btn-sm" href="#" data-action="kick" title="[[groups:details.kick]]">
|
|
35
|
+
<i class="fa fa-ban text-danger"></i>
|
|
36
|
+
</a>
|
|
37
|
+
</div>
|
|
38
|
+
{{{ end }}}
|
|
36
39
|
</div>
|
|
37
|
-
<!-- ENDIF group.isOwner -->
|
|
38
40
|
</td>
|
|
39
41
|
</tr>
|
|
40
42
|
{{{end}}}
|