nodebb-theme-harmony 3.2.10 → 3.2.12
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-harmony",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.12",
|
|
4
4
|
"nbbpm": {
|
|
5
5
|
"compatibility": "^4.15.1"
|
|
6
6
|
},
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@fontsource/poppins": "5.2.7"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"eslint": "10.
|
|
48
|
+
"eslint": "10.9.0",
|
|
49
49
|
"eslint-config-nodebb": "^2.0.2"
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
<div class="align-items-center justify-content-center card card-header p-3 border-0 rounded-1 h-100 gap-2">
|
|
79
79
|
<span class="stat-label text-xs fw-semibold"><span><i class="text-muted {./icon}"></i> {{tx(./name)}}</span></span>
|
|
80
80
|
{{{ if (./type == "input-link") }}}
|
|
81
|
-
<a class="text-center text-break w-100 px-2 ff-secondary text-underline text-reset" href="{./value}" rel="nofollow noreferrer">{./linkValue}</a>
|
|
81
|
+
<a class="text-center text-break w-100 px-2 ff-secondary text-underline text-reset" href="{./value}" rel="nofollow noreferrer{{{ if (./key == "website") }}} me{{{ end }}}">{./linkValue}</a>
|
|
82
82
|
{{{ else }}}
|
|
83
83
|
<span class="text-center text-break {{{ if (./type == "input-number") }}}fs-2{{{else }}}fs-6{{{ end }}} ff-secondary">{./value}</span>
|
|
84
84
|
{{{ end }}}
|
|
@@ -263,7 +263,9 @@
|
|
|
263
263
|
<tr>
|
|
264
264
|
<th></th>
|
|
265
265
|
<th class="text-center fw-semibold px-2">{{tx("user:notification-type-web")}}</th>
|
|
266
|
+
{{{ if !disableNotificationEmails }}}
|
|
266
267
|
<th class="text-center fw-semibold px-2">{{tx("user:notification-type-email")}}</th>
|
|
268
|
+
{{{ end }}}
|
|
267
269
|
</tr>
|
|
268
270
|
</thead>
|
|
269
271
|
<tbody>
|
|
@@ -281,12 +283,14 @@
|
|
|
281
283
|
<i class="fa-regular fa-lg fa-bell text-secondary {{{ if (./notification || ./notificationemail) }}}hidden{{{ end }}}"></i>
|
|
282
284
|
</a>
|
|
283
285
|
</td>
|
|
286
|
+
{{{ if !disableNotificationEmails }}}
|
|
284
287
|
<td class="text-center">
|
|
285
288
|
<a href="#" data-type="email" data-value="{{{ if (./email || ./notificationemail) }}}1{{{ else }}}0{{{ end}}}">
|
|
286
289
|
<i class="fa-solid fa-lg fa-envelope text-primary {{{ if (!./email && !./notificationemail) }}}hidden{{{ end }}}"></i>
|
|
287
290
|
<i class="fa-regular fa-lg fa-envelope text-secondary {{{ if (./email || ./notificationemail) }}}hidden{{{ end }}}"></i>
|
|
288
291
|
</a>
|
|
289
292
|
</td>
|
|
293
|
+
{{{ end }}}
|
|
290
294
|
</tr>
|
|
291
295
|
{{{end}}}
|
|
292
296
|
</tbody>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{{{ if
|
|
1
|
+
{{{ if canCrosspost }}}
|
|
2
2
|
<button component="topic/crosspost" title="{{tx("topic:crosspost-topic")}}" class="btn btn-ghost btn-sm ff-secondary d-flex gap-2 align-items-center text-truncate">
|
|
3
3
|
<i class="fa fa-fw fa-square-arrow-up-right text-primary"></i>
|
|
4
4
|
<span class="d-none d-md-inline fw-semibold text-truncate text-nowrap">{{tx("topic:thread-tools.crosspost")}}</span>
|