nodebb-theme-persona 13.3.11 → 13.3.13
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
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
<div class="row">
|
|
9
9
|
<div class="col-sm-6">
|
|
10
10
|
<!-- IF gdpr_consent -->
|
|
11
|
-
<div class="alert alert-success">
|
|
12
|
-
<i class="fa fa-check float-end fa-3x"></i>
|
|
11
|
+
<div class="alert alert-success d-flex gap-3">
|
|
13
12
|
[[user:consent.received]]
|
|
13
|
+
<i class="fa fa-check fa-3x"></i>
|
|
14
14
|
</div>
|
|
15
15
|
<!-- ELSE -->
|
|
16
16
|
<div class="alert alert-warning">
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
{{{ else }}}
|
|
92
92
|
<a class="title" href="{config.relative_path}/post/{../pid}">{../title}</a><br />
|
|
93
93
|
{{{ end }}}
|
|
94
|
-
<span class="timestamp">[[flags:flagged-timeago-readable, {../timestampISO}, {
|
|
94
|
+
<span class="timestamp">[[flags:flagged-timeago-readable, {../timestampISO}, {isoTimeToLocaleString(./timestampISO, config.userLang)}]]</span>
|
|
95
95
|
</p>
|
|
96
96
|
</li>
|
|
97
97
|
{{{end}}}
|
|
@@ -126,9 +126,9 @@
|
|
|
126
126
|
<strong>
|
|
127
127
|
<a href="<!-- IF history.bans.user.userslug -->{config.relative_path}/user/{history.bans.user.userslug}<!-- ELSE -->#<!-- ENDIF history.bans.user.userslug -->" itemprop="author" data-username="{history.bans.user.username}" data-uid="{history.bans.user.uid}">{history.bans.user.username}</a>
|
|
128
128
|
</strong>
|
|
129
|
-
<span class="timestamp timeago" title="{../timestampISO}"></span> — {
|
|
129
|
+
<span class="timestamp timeago" title="{../timestampISO}"></span> — {isoTimeToLocaleString(./timestampISO, config.userLang)}<br />
|
|
130
130
|
<!-- IF ../until -->
|
|
131
|
-
<span class="expiry">[[user:info.banned-until, {
|
|
131
|
+
<span class="expiry">[[user:info.banned-until, isoTimeToLocaleString{./untilISO, config.userLang)}]]</span><br />
|
|
132
132
|
<!-- ELSE -->
|
|
133
133
|
<span class="expiry">[[user:info.banned-permanently]]</span><br />
|
|
134
134
|
<!-- ENDIF ../until -->
|
|
@@ -167,9 +167,9 @@
|
|
|
167
167
|
<strong>
|
|
168
168
|
<a href="<!-- IF history.mutes.user.userslug -->{config.relative_path}/user/{history.mutes.user.userslug}<!-- ELSE -->#<!-- ENDIF history.mutes.user.userslug -->" itemprop="author" data-username="{history.mutes.user.username}" data-uid="{history.mutes.user.uid}">{history.mutes.user.username}</a>
|
|
169
169
|
</strong>
|
|
170
|
-
<span class="timestamp timeago" title="{../timestampISO}"></span> — {
|
|
170
|
+
<span class="timestamp timeago" title="{../timestampISO}"></span> — {isoTimeToLocaleString(./timestampISO, config.userLang)}<br />
|
|
171
171
|
{{{ if ../until }}}
|
|
172
|
-
<span class="expiry">[[user:info.muted-until, {
|
|
172
|
+
<span class="expiry">[[user:info.muted-until, {isoTimeToLocaleString(./untilISO, config.userLang)}]]</span><br />
|
|
173
173
|
{{{ end }}}
|
|
174
174
|
|
|
175
175
|
<span class="reason"><strong>[[user:info.banned-reason-label]]</strong>: {../reason}</span>
|
package/templates/category.tpl
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
{{{ end }}}
|
|
20
20
|
{{{ end }}}
|
|
21
21
|
|
|
22
|
-
<a href="{
|
|
22
|
+
<a href="{url}" class="d-inline-block">
|
|
23
23
|
<div class="alert alert-warning h-100 m-0 px-2 py-1 d-flex gap-1 align-items-center hide" id="new-topics-alert"><i class="fa fa-fw fa-rotate-right"></i>[[recent:load-new-posts]]</div>
|
|
24
24
|
</a>
|
|
25
25
|
</div>
|