nodebb-theme-harmony 3.2.7 → 3.2.9
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
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
{{{ end }}}
|
|
11
11
|
|
|
12
12
|
<div class="row">
|
|
13
|
-
<div class="col-sm-6 mb-
|
|
13
|
+
<div class="{{{ if isAdminOrGlobalModeratorOrModerator }}}col-sm-6{{{ else }}}col-12{{{ end }}} mb-4">
|
|
14
14
|
{{{ if invitedBy}}}
|
|
15
15
|
<div class="mb-4 pb-3 border-bottom">
|
|
16
16
|
<h6>{{tx("user:info.invited-by")}}</h6>
|
|
@@ -73,7 +73,8 @@
|
|
|
73
73
|
</div>
|
|
74
74
|
</div>
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
{{{ if isAdminOrGlobalModeratorOrModerator }}}
|
|
77
|
+
<div class="mb-4 border-bottom">
|
|
77
78
|
<h6>{{tx("user:info.latest-flags")}}</h6>
|
|
78
79
|
<div class="">
|
|
79
80
|
{{{ if history.flags.length }}}
|
|
@@ -120,7 +121,7 @@
|
|
|
120
121
|
</div>
|
|
121
122
|
</div>
|
|
122
123
|
|
|
123
|
-
<div class="mb-
|
|
124
|
+
<div class="mb-4 border-bottom">
|
|
124
125
|
<h6 class="d-flex align-items-center justify-content-between">
|
|
125
126
|
{{tx("user:info.ban-history")}}
|
|
126
127
|
|
|
@@ -145,13 +146,13 @@
|
|
|
145
146
|
<span class="timestamp timeago" title="{./timestampISO}"></span>
|
|
146
147
|
</div>
|
|
147
148
|
{{{ if (./type != "unban") }}}
|
|
148
|
-
<span class="badge text-bg-danger">
|
|
149
|
+
<span class="badge text-bg-danger">{{tx("user:banned")}}</span>
|
|
149
150
|
{{{ else }}}
|
|
150
|
-
<span class="badge text-bg-success">
|
|
151
|
+
<span class="badge text-bg-success">{{tx("user:unbanned")}}</span>
|
|
151
152
|
{{{ end }}}
|
|
152
153
|
</div>
|
|
153
154
|
<p class="mb-1">
|
|
154
|
-
<span class="reason">
|
|
155
|
+
<span class="reason">{{tx("user:info.banned-reason-label")}}: <strong>{{tx(./reason)}}</strong></span>
|
|
155
156
|
</p>
|
|
156
157
|
<p>
|
|
157
158
|
{{{ if ./until }}}
|
|
@@ -171,7 +172,7 @@
|
|
|
171
172
|
</div>
|
|
172
173
|
</div>
|
|
173
174
|
|
|
174
|
-
<div class="mb-
|
|
175
|
+
<div class="mb-4">
|
|
175
176
|
<h6 class="d-flex align-items-center justify-content-between">
|
|
176
177
|
{{tx("user:info.mute-history")}}
|
|
177
178
|
|
|
@@ -220,11 +221,11 @@
|
|
|
220
221
|
{{{ end }}}
|
|
221
222
|
</div>
|
|
222
223
|
</div>
|
|
223
|
-
|
|
224
224
|
</div>
|
|
225
|
+
{{{ end }}}
|
|
225
226
|
|
|
226
|
-
|
|
227
|
-
|
|
227
|
+
{{{ if isAdminOrGlobalModeratorOrModerator }}}
|
|
228
|
+
<div class="col-sm-6 mb-4">
|
|
228
229
|
<div class="card">
|
|
229
230
|
<h5 class="card-header">
|
|
230
231
|
{{tx("user:info.moderation-note")}}
|
|
@@ -270,8 +271,8 @@
|
|
|
270
271
|
<!-- IMPORT partials/paginator.tpl -->
|
|
271
272
|
</div>
|
|
272
273
|
</div>
|
|
273
|
-
{{{ end }}}
|
|
274
274
|
</div>
|
|
275
|
+
{{{ end }}}
|
|
275
276
|
</div>
|
|
276
277
|
|
|
277
278
|
<!-- IMPORT partials/account/footer.tpl -->
|