nodebb-theme-persona 13.3.52 → 13.3.54
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
|
@@ -53,17 +53,6 @@
|
|
|
53
53
|
<label class="form-label fw-bold" for="fullname">[[user:fullname]]</label>
|
|
54
54
|
<input class="form-control" type="text" id="fullname" name="fullname" placeholder="[[user:fullname]]" value="{fullname}">
|
|
55
55
|
</div>
|
|
56
|
-
<!-- IF allowWebsite -->
|
|
57
|
-
<div class="mb-2">
|
|
58
|
-
<label class="form-label fw-bold" for="website">[[user:website]]</label>
|
|
59
|
-
<input class="form-control" type="text" id="website" name="website" placeholder="http://..." value="{website}">
|
|
60
|
-
</div>
|
|
61
|
-
<!-- ENDIF allowWebsite -->
|
|
62
|
-
|
|
63
|
-
<div class="mb-2">
|
|
64
|
-
<label class="form-label fw-bold" for="location">[[user:location]]</label>
|
|
65
|
-
<input class="form-control" type="text" id="location" name="location" placeholder="[[user:location]]" value="{location}">
|
|
66
|
-
</div>
|
|
67
56
|
|
|
68
57
|
<div class="mb-2">
|
|
69
58
|
<label class="form-label fw-bold" for="birthday">[[user:birthday]]</label>
|
|
@@ -80,8 +69,9 @@
|
|
|
80
69
|
{{{ if (./type == "input-number") }}}
|
|
81
70
|
<input class="form-control" type="number" id="{./key}" name="{./key}" value="{./value}">
|
|
82
71
|
{{{ end }}}
|
|
83
|
-
|
|
84
|
-
|
|
72
|
+
|
|
73
|
+
{{{ if ((./type == "select") || (./type == "select-multi")) }}}
|
|
74
|
+
<select class="form-select" id="{./key}" name="{./key}" {{{ if (./type == "select-multi") }}} multiple{{{ end }}}>
|
|
85
75
|
{{{ each ./select-options}}}
|
|
86
76
|
<option value="{./value}" {{{ if ./selected }}}selected{{{ end }}}>{./value}</option>
|
|
87
77
|
{{{ end }}}
|
|
@@ -80,20 +80,6 @@
|
|
|
80
80
|
</div>
|
|
81
81
|
{{{ end }}}
|
|
82
82
|
|
|
83
|
-
{{{ if websiteName }}}
|
|
84
|
-
<div>
|
|
85
|
-
<span class="stat-label">[[user:website]]</span>
|
|
86
|
-
<a href="{websiteLink}" class="fw-bold" rel="nofollow noreferrer me">{websiteName}</a>
|
|
87
|
-
</div>
|
|
88
|
-
{{{ end }}}
|
|
89
|
-
|
|
90
|
-
{{{ if location }}}
|
|
91
|
-
<div>
|
|
92
|
-
<span class="stat-label">[[user:location]]</span>
|
|
93
|
-
<span class="fw-bold">{location}</span>
|
|
94
|
-
</div>
|
|
95
|
-
{{{ end }}}
|
|
96
|
-
|
|
97
83
|
{{{ if age }}}
|
|
98
84
|
<div>
|
|
99
85
|
<span class="stat-label">[[user:age]]</span>
|
|
@@ -106,7 +92,7 @@
|
|
|
106
92
|
<div>
|
|
107
93
|
<span class="stat-label">{./name}</span>
|
|
108
94
|
{{{ if (./type == "input-link") }}}
|
|
109
|
-
<a class="fw-bold" href="{./value}" rel="nofollow noreferrer
|
|
95
|
+
<a class="fw-bold" href="{./value}" rel="nofollow noreferrer">{./linkValue}</a>
|
|
110
96
|
{{{ else }}}
|
|
111
97
|
<span class="fw-bold">{./value}</span>
|
|
112
98
|
{{{ end }}}
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
<hr />
|
|
36
36
|
|
|
37
|
-
<div component="groups/container" class="row" id="groups-list"
|
|
37
|
+
<div component="groups/container" class="row" id="groups-list">
|
|
38
38
|
{{{ if groups.length }}}
|
|
39
39
|
<!-- IMPORT partials/groups/list.tpl -->
|
|
40
40
|
{{{ else }}}
|
|
@@ -45,4 +45,6 @@
|
|
|
45
45
|
</div>
|
|
46
46
|
{{{ end }}}
|
|
47
47
|
</div>
|
|
48
|
+
|
|
49
|
+
<!-- IMPORT partials/paginator.tpl -->
|
|
48
50
|
</div>
|
|
@@ -7,13 +7,16 @@
|
|
|
7
7
|
<button class="btn btn-ghost btn-sm dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
8
8
|
{{{ if selectedFilter }}}{selectedFilter.name}{{{ end}}} <span class="caret"></span>
|
|
9
9
|
</button>
|
|
10
|
-
<ul class="dropdown-menu dropdown-menu-end" role="menu">
|
|
10
|
+
<ul class="dropdown-menu dropdown-menu-end p-1" role="menu">
|
|
11
11
|
{{{ each filters }}}
|
|
12
12
|
{{{ if filters.separator }}}
|
|
13
13
|
<li role="separator" class="dropdown-divider"></li>
|
|
14
14
|
{{{ else }}}
|
|
15
15
|
<li role="presentation" class="category">
|
|
16
|
-
<a class="dropdown-item" role="menuitem" href="{config.relative_path}/notifications?filter={filters.filter}"
|
|
16
|
+
<a class="dropdown-item rounded-1 d-flex gap-3 align-items-center justify-content-between" role="menuitem" href="{config.relative_path}/notifications?filter={filters.filter}">
|
|
17
|
+
<span><i class="fa fa-fw {{{ if filters.selected }}}fa-check{{{ end }}}"></i> {filters.name}</span>
|
|
18
|
+
<span class="">{./count}</span>
|
|
19
|
+
</a>
|
|
17
20
|
</li>
|
|
18
21
|
{{{ end }}}
|
|
19
22
|
{{{ end }}}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div class="col-lg-4 col-md-6 col-sm-12 mb-3" component="groups/summary" data-slug="{groups.slug}">
|
|
3
3
|
<div class="card h-100">
|
|
4
4
|
<a href="{config.relative_path}/groups/{groups.slug}" class="card-header list-cover" style="{{{ if groups.cover:thumb:url }}}background-image: url({./cover:thumb:url});background-size: cover; min-height: 125px; background-position: {./cover:position}{{{ end }}}">
|
|
5
|
-
<h5 class="card-title d-inline-block mw-100 px-2 py-1 text-truncate text-capitalize fw-bold rounded-1" style="color: white;background-color: rgba(0,0,0,0.5);">{groups.displayName} <small>{groups.memberCount}</small></h5>
|
|
5
|
+
<h5 class="card-title d-inline-block mw-100 px-2 py-1 text-truncate text-capitalize fw-bold rounded-1" style="color: white;background-color: rgba(0,0,0,0.5);">{groups.displayName} <small>{formattedNumber(groups.memberCount)}</small></h5>
|
|
6
6
|
</a>
|
|
7
7
|
<div class="card-body">
|
|
8
8
|
<p class="text-muted">
|