nodebb-theme-harmony 1.2.45 → 1.2.47
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.47",
|
|
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
|
}
|
|
@@ -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>
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
<div class="d-flex gap-2 align-items-center">
|
|
88
88
|
<a class="d-flex text-decoration-none" href="{config.relative_path}/user/{./user.userslug}">{buildAvatar(./user, "16px", true)}</a>
|
|
89
89
|
<a href="{config.relative_path}/user/{./user.userslug}">{./user.username}</a>
|
|
90
|
-
<span class="timeago text-muted" title="{./datetimeISO}"></span>
|
|
90
|
+
<span class="timeago text-muted text-nowrap" title="{./datetimeISO}"></span>
|
|
91
91
|
</div>
|
|
92
92
|
<div>
|
|
93
93
|
<ul class="list-unstyled">
|