nodebb-theme-persona 15.2.7 → 15.2.8

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": "15.2.7",
3
+ "version": "15.2.8",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.15.1"
6
6
  },
@@ -100,7 +100,7 @@
100
100
  <div class="d-flex gap-1 flex-nowrap align-items-center">
101
101
  <span class="stat-label">{{tx(./name)}}</span>
102
102
  {{{ if (./type == "input-link") }}}
103
- <a class="fw-bold" href="{./value}" rel="nofollow noreferrer">{./linkValue}</a>
103
+ <a class="fw-bold" href="{./value}" rel="nofollow noreferrer{{{ if (./key == "website") }}} me{{{ end }}}">{./linkValue}</a>
104
104
  {{{ else }}}
105
105
  <span class="fw-bold d-flex flex-nowrap align-items-center">{./value}</span>
106
106
  {{{ end }}}
@@ -214,4 +214,4 @@
214
214
 
215
215
  <div id="user-action-alert" class="alert alert-success hide"></div>
216
216
 
217
- <!-- IMPORT partials/account/footer.tpl -->
217
+ <!-- IMPORT partials/account/footer.tpl -->
@@ -251,7 +251,9 @@
251
251
  <tr>
252
252
  <th></th>
253
253
  <th class="text-center fw-semibold px-2">{{tx("user:notification-type-web")}}</th>
254
+ {{{ if !disableNotificationEmails }}}
254
255
  <th class="text-center fw-semibold px-2">{{tx("user:notification-type-email")}}</th>
256
+ {{{ end }}}
255
257
  </tr>
256
258
  </thead>
257
259
  <tbody>
@@ -269,12 +271,14 @@
269
271
  <i class="fa-regular fa-lg fa-bell text-secondary {{{ if (./notification || ./notificationemail) }}}hidden{{{ end }}}"></i>
270
272
  </a>
271
273
  </td>
274
+ {{{ if !disableNotificationEmails }}}
272
275
  <td class="text-center">
273
276
  <a href="#" data-type="email" data-value="{{{ if (./email || ./notificationemail) }}}1{{{ else }}}0{{{ end}}}">
274
277
  <i class="fa-solid fa-lg fa-envelope text-primary {{{ if (!./email && !./notificationemail) }}}hidden{{{ end }}}"></i>
275
278
  <i class="fa-regular fa-lg fa-envelope text-secondary {{{ if (./email || ./notificationemail) }}}hidden{{{ end }}}"></i>
276
279
  </a>
277
280
  </td>
281
+ {{{ end }}}
278
282
  </tr>
279
283
  {{{end}}}
280
284
  </tbody>