nodebb-theme-persona 13.3.53 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-persona",
3
- "version": "13.3.53",
3
+ "version": "13.3.54",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.7.0"
6
6
  },
@@ -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
- {{{ if (./type == "select") }}}
84
- <select class="form-select" id="{./key}" name="{./key}">
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 me">{./value}</a>
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 }}}