nodebb-theme-persona 13.3.8 → 13.3.9
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/account/edit.tpl +30 -27
package/package.json
CHANGED
|
@@ -13,21 +13,21 @@
|
|
|
13
13
|
</div>
|
|
14
14
|
</div>
|
|
15
15
|
<ul class="list-group mb-3">
|
|
16
|
-
|
|
17
|
-
<a component="profile/change/picture" href="#" class="
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
<a href="{config.relative_path}/user/{userslug}/edit/username" class="
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
<a href="{config.relative_path}/user/{userslug}/edit/email" class="
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<a href="{config.relative_path}/user/{userslug}/edit/password" class="
|
|
27
|
-
|
|
28
|
-
{{{each editButtons}}}
|
|
29
|
-
<a href="{config.relative_path}{
|
|
30
|
-
{{{end}}}
|
|
16
|
+
{{{ if allowProfilePicture }}}
|
|
17
|
+
<li class="list-group-item"><a component="profile/change/picture" href="#" class="text-decoration-none text-reset">[[user:change-picture]]</a></li>
|
|
18
|
+
{{{ end }}}
|
|
19
|
+
{{{ if !username:disableEdit }}}
|
|
20
|
+
<li class="list-group-item"><a href="{config.relative_path}/user/{userslug}/edit/username" class="text-decoration-none text-reset">[[user:change-username]]</a></li>
|
|
21
|
+
{{{ end }}}
|
|
22
|
+
{{{ if !email:disableEdit }}}
|
|
23
|
+
<li class="list-group-item"><a href="{config.relative_path}/user/{userslug}/edit/email" class="text-decoration-none text-reset">[[user:change-email]]</a></li>
|
|
24
|
+
{{{ end }}}
|
|
25
|
+
{{{ if canChangePassword }}}
|
|
26
|
+
<li class="list-group-item"><a href="{config.relative_path}/user/{userslug}/edit/password" class="text-decoration-none text-reset">[[user:change-password]]</a></li>
|
|
27
|
+
{{{ end }}}
|
|
28
|
+
{{{ each editButtons }}}
|
|
29
|
+
<li class="list-group-item"><a href="{config.relative_path}{./link}" class="text-decoration-none text-reset">{./text}</a></li>
|
|
30
|
+
{{{ end }}}
|
|
31
31
|
</ul>
|
|
32
32
|
|
|
33
33
|
<!-- IF config.requireEmailConfirmation -->
|
|
@@ -73,18 +73,21 @@
|
|
|
73
73
|
<div class="mb-2">
|
|
74
74
|
<label class="form-label fw-bold" for="groupTitle">[[user:grouptitle]]</label>
|
|
75
75
|
|
|
76
|
-
<
|
|
77
|
-
|
|
78
|
-
{{
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
76
|
+
<div class="d-flex flex-column gap-2" component="group/badge/list">
|
|
77
|
+
{{{ each groups }}}
|
|
78
|
+
<div component="group/badge/item" class="d-flex gap-2 justify-content-between align-items-center" data-value="{./displayName}" data-selected="{./selected}">
|
|
79
|
+
<!-- IMPORT partials/groups/badge.tpl -->
|
|
80
|
+
<div class="d-flex gap-1">
|
|
81
|
+
<button component="group/toggle/hide" type="button" class="btn-ghost-sm {{{ if !./selected }}}hidden{{{ end }}}" title="[[user:hide-group-title]]"><i class="fa fa-fw fa-eye"></i></button>
|
|
82
|
+
<button component="group/toggle/show" type="button" class="btn-ghost-sm {{{ if ./selected }}}hidden{{{ end }}}" title="[[user:show-group-title]]"><i class="fa fa-fw fa-eye-slash"></i></button>
|
|
83
|
+
{{{ if allowMultipleBadges }}}
|
|
84
|
+
<button component="group/order/up" type="button" class="btn-ghost-sm" title="[[user:order-group-up]]"><i class="fa fa-fw fa-chevron-up"></i></button>
|
|
85
|
+
<button component="group/order/down" type="button" class="btn-ghost-sm" title="[[user:order-group-down]]"><i class="fa fa-fw fa-chevron-down"></i></button>
|
|
86
|
+
{{{ end }}}
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
{{{ end }}}
|
|
90
|
+
</div>
|
|
88
91
|
</div>
|
|
89
92
|
|
|
90
93
|
<!-- IF allowAboutMe -->
|