nodebb-theme-harmony 1.2.44 → 1.2.46
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": "1.2.
|
|
3
|
+
"version": "1.2.46",
|
|
4
4
|
"nbbpm": {
|
|
5
5
|
"compatibility": "^3.7.0"
|
|
6
6
|
},
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@fontsource/poppins": "5.0.8"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"eslint": "^
|
|
44
|
+
"eslint": "^9.0.0",
|
|
45
45
|
"eslint-config-nodebb": "^0.2.0",
|
|
46
46
|
"eslint-plugin-import": "^2.24.2"
|
|
47
47
|
}
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
<div class="row">
|
|
10
10
|
<div class="col-sm-6">
|
|
11
11
|
{{{ if gdpr_consent }}}
|
|
12
|
-
<div class="alert alert-success">
|
|
13
|
-
<i class="fa fa-check float-end fa-3x"></i>
|
|
12
|
+
<div class="alert alert-success d-flex gap-3">
|
|
14
13
|
[[user:consent.received]]
|
|
14
|
+
<i class="fa fa-check fa-3x"></i>
|
|
15
15
|
</div>
|
|
16
16
|
{{{ else }}}
|
|
17
17
|
<div class="alert alert-warning">
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
{{{ else }}}
|
|
73
73
|
<a class="title" href="{config.relative_path}/post/{./pid}">{./title}</a><br />
|
|
74
74
|
{{{ end }}}
|
|
75
|
-
<span class="timestamp">[[flags:flagged-timeago-readable, {./timestampISO}, {./
|
|
75
|
+
<span class="timestamp">[[flags:flagged-timeago-readable, {./timestampISO}, {isoTimeToLocaleString(./timestampISO, config.userLang)}]]</span>
|
|
76
76
|
</p>
|
|
77
77
|
</li>
|
|
78
78
|
{{{ end }}}
|
|
@@ -104,9 +104,9 @@
|
|
|
104
104
|
<strong>
|
|
105
105
|
<a href="{{{ if ./user.userslug }}}{config.relative_path}/user/{./user.userslug}{{{ else }}}#{{{ end }}}" itemprop="author" data-username="{./user.username}" data-uid="{./user.uid}">{./user.username}</a>
|
|
106
106
|
</strong>
|
|
107
|
-
<span class="timestamp timeago" title="{./timestampISO}"></span> — {./
|
|
107
|
+
<span class="timestamp timeago" title="{./timestampISO}"></span> — {isoTimeToLocaleString(./timestampISO, config.userLang)}<br />
|
|
108
108
|
{{{ if ./until }}}
|
|
109
|
-
<span class="expiry">[[user:info.banned-until, {./
|
|
109
|
+
<span class="expiry">[[user:info.banned-until, {isoTimeToLocaleString(./untilISO, config.userLang)}]]</span><br />
|
|
110
110
|
{{{ else }}}
|
|
111
111
|
<span class="expiry">[[user:info.banned-permanently]]</span><br />
|
|
112
112
|
{{{ end }}}
|
|
@@ -145,9 +145,9 @@
|
|
|
145
145
|
<strong>
|
|
146
146
|
<a href="{{{ if ./user.userslug }}}{config.relative_path}/user/{./user.userslug}{{{ else }}}#{{{ end }}}" itemprop="author" data-username="{./user.username}" data-uid="{./user.uid}">{./user.username}</a>
|
|
147
147
|
</strong>
|
|
148
|
-
<span class="timestamp timeago" title="{./timestampISO}"></span> — {./
|
|
148
|
+
<span class="timestamp timeago" title="{./timestampISO}"></span> — {isoTimeToLocaleString(./timestampISO, config.userLang)}<br />
|
|
149
149
|
{{{ if ./until }}}
|
|
150
|
-
<span class="expiry">[[user:info.muted-until, {./
|
|
150
|
+
<span class="expiry">[[user:info.muted-until, {isoTimeToLocaleString(./untilISO, config.userLang)}]]</span><br />
|
|
151
151
|
{{{ end }}}
|
|
152
152
|
|
|
153
153
|
<span class="reason"><strong>[[user:info.banned-reason-label]]</strong>: {./reason}</span>
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<a class="btn-ghost-sm d-none d-lg-flex align-self-stretch" target="_blank" href="{rssFeedUrl}" itemprop="item" title="[[global:rss-feed]]"><i class="fa fa-rss text-primary"></i></a>
|
|
31
31
|
{{{ end }}}
|
|
32
32
|
|
|
33
|
-
<a href="{
|
|
33
|
+
<a href="{{{ if template.category }}}{url}{{{ else }}}{config.relative_path}/{selectedFilter.url}{querystring}{{{ end }}}" class="btn btn-secondary fw-semibold position-absolute top-100 translate-middle-x start-50 mt-1 hide" style="--bs-btn-padding-y: .25rem; --bs-btn-padding-x: .5rem; --bs-btn-font-size: .75rem;" id="new-topics-alert">
|
|
34
34
|
<i class="fa fa-fw fa-arrow-up"></i> [[recent:load-new-posts]]
|
|
35
35
|
</a>
|
|
36
36
|
</div>
|