nodebb-theme-harmony 1.1.70 → 1.1.72
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,5 +1,5 @@
|
|
|
1
1
|
<span class="badge text-body border border-gray-300 stats text-xs">
|
|
2
|
-
<i class="fa fa-fw fa-
|
|
2
|
+
<i class="fa-regular fa-fw fa-message visible-xs-inline" title="[[global:posts]]"></i>
|
|
3
3
|
<span component="topic/post-count" title="{postcount}" class="fw-bold">{humanReadableNumber(postcount)}</span>
|
|
4
4
|
<span class="hidden-xs text-lowercase fw-normal">[[global:posts]]</span>
|
|
5
5
|
</span>
|
|
@@ -30,21 +30,22 @@
|
|
|
30
30
|
<span component="topic/labels" class="d-flex flex-wrap gap-1 w-100">
|
|
31
31
|
<span component="topic/scheduled" class="badge border border-gray-300 text-body {{{ if !./scheduled }}}hidden{{{ end }}}">
|
|
32
32
|
<i class="fa fa-clock-o"></i>
|
|
33
|
-
<span
|
|
33
|
+
<span>[[topic:scheduled]]</span>
|
|
34
34
|
</span>
|
|
35
35
|
<span component="topic/pinned" class="badge border border-gray-300 text-body {{{ if (./scheduled || !./pinned) }}}hidden{{{ end }}}">
|
|
36
36
|
<i class="fa fa-thumb-tack"></i>
|
|
37
|
-
<span
|
|
37
|
+
<span>{{{ if !./pinExpiry }}}[[topic:pinned]]{{{ else }}}[[topic:pinned-with-expiry, {isoTimeToLocaleString(./pinExpiryISO)}]]{{{ end }}}</span>
|
|
38
38
|
</span>
|
|
39
39
|
<span component="topic/locked" class="badge border border-gray-300 text-body {{{ if !./locked }}}hidden{{{ end }}}">
|
|
40
40
|
<i class="fa fa-lock"></i>
|
|
41
|
-
<span
|
|
41
|
+
<span>[[topic:locked]]</span>
|
|
42
42
|
</span>
|
|
43
43
|
<span class="badge border border-gray-300 text-body {{{ if !./oldCid }}}hidden{{{ end }}}">
|
|
44
44
|
<i class="fa fa-arrow-circle-right"></i>
|
|
45
|
-
<span
|
|
45
|
+
<span>[[topic:moved]]</span>
|
|
46
46
|
</span>
|
|
47
47
|
{{{each ./icons}}}<span class="lh-1">{@value}</span>{{{end}}}
|
|
48
|
+
|
|
48
49
|
{{{ if !template.category }}}
|
|
49
50
|
{function.buildCategoryLabel, ./category, "a", "border"}
|
|
50
51
|
{{{ end }}}
|
|
@@ -55,13 +56,16 @@
|
|
|
55
56
|
{{{ end }}}
|
|
56
57
|
</span>
|
|
57
58
|
|
|
58
|
-
<
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
59
|
+
<div class="d-flex gap-1 d-block d-lg-none w-100">
|
|
60
|
+
<span class="badge text-body border stats text-xs text-muted">
|
|
61
|
+
<i class="fa-regular fa-fw fa-message"></i>
|
|
62
|
+
<span component="topic/post-count" class="fw-normal">{humanReadableNumber(./postcount, 0)}</span>
|
|
63
|
+
</span>
|
|
64
|
+
|
|
65
|
+
<span class="border badge bg-transparent text-muted fw-normal timeago" title="{{{ if (./teaser.timestampISO && !config.theme.mobileTopicTeasers) }}}{./teaser.timestampISO}{{{ else }}}{./timestampISO}{{{ end }}}"></span>
|
|
64
66
|
</div>
|
|
67
|
+
|
|
68
|
+
<a href="{config.relative_path}/topic/{./slug}" class="d-none d-lg-block badge bg-transparent text-muted fw-normal timeago" title="{./timestampISO}"></a>
|
|
65
69
|
</span>
|
|
66
70
|
{{{ if showSelect }}}
|
|
67
71
|
<div class="checkbox position-absolute top-0 end-0 m-0 d-flex d-lg-none" style="max-width:max-content">
|
|
@@ -89,7 +93,7 @@
|
|
|
89
93
|
<div class="stats-postcount card card-header border-0 p-2 overflow-hidden rounded-1 d-flex flex-column align-items-center">
|
|
90
94
|
<span class="fs-5 ff-secondary lh-1" title="{./postcount}">{humanReadableNumber(./postcount, 0)}</span>
|
|
91
95
|
<span class="d-none d-xl-flex text-lowercase text-xs">[[global:posts]]</span>
|
|
92
|
-
<i class="d-xl-none fa fa-fw text-xs text-muted opacity-75 fa-message"></i>
|
|
96
|
+
<i class="d-xl-none fa-regular fa-fw text-xs text-muted opacity-75 fa-message"></i>
|
|
93
97
|
</div>
|
|
94
98
|
<div class="stats-viewcount card card-header border-0 p-2 overflow-hidden rounded-1 d-flex flex-column align-items-center">
|
|
95
99
|
<span class="fs-5 ff-secondary lh-1" title="{./viewcount}">{humanReadableNumber(./viewcount, 0)}</span>
|