nodebb-theme-persona 15.2.4 → 15.2.6

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-persona",
3
- "version": "15.2.4",
3
+ "version": "15.2.6",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.15.1"
6
6
  },
@@ -10,7 +10,7 @@
10
10
  {{{ end }}}
11
11
 
12
12
  <div class="row">
13
- <div class="col-sm-6 mb-3">
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
- <div class="mb-3 border-bottom">
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-3 border-bottom">
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
 
@@ -171,7 +172,7 @@
171
172
  </div>
172
173
  </div>
173
174
 
174
- <div class="mb-3">
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
- <div class="col-sm-6 mb-3">
227
- {{{ if isAdminOrGlobalModeratorOrModerator }}}
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")}}
@@ -245,10 +246,9 @@
245
246
  <span class="timeago text-sm text-secondary" title="{./timestampISO}"></span>
246
247
  </div>
247
248
 
248
-
249
249
  <div component="account/moderation-note/content-area" class="d-flex flex-column">
250
250
  <div class="content text-secondary">
251
- {./note}
251
+ {{./note}}
252
252
  </div>
253
253
  {{{ if isAdmin }}}
254
254
  <div class="d-flex gap-1 justify-content-end">
@@ -271,8 +271,8 @@
271
271
  <!-- IMPORT partials/paginator.tpl -->
272
272
  </div>
273
273
  </div>
274
- {{{ end }}}
275
274
  </div>
275
+ {{{ end }}}
276
276
  </div>
277
277
 
278
278
  <!-- IMPORT partials/account/footer.tpl -->
@@ -15,7 +15,7 @@
15
15
  </div>
16
16
  <div class="d-flex gap-1">
17
17
  <!-- IMPORT partials/topic-terms.tpl -->
18
- <!-- IMPORT partials/topic-filters.tpl -->
18
+ <!-- IMPORT partials/topic-filters-right.tpl -->
19
19
  <!-- IMPORT partials/category/filter-dropdown-right.tpl -->
20
20
  <!-- IMPORT partials/category/tools-dropdown-right.tpl -->
21
21
  </div>
@@ -17,7 +17,7 @@
17
17
  </a>
18
18
  </div>
19
19
  <div class="d-flex gap-1">
20
- <!-- IMPORT partials/topic-filters.tpl -->
20
+ <!-- IMPORT partials/topic-filters-right.tpl -->
21
21
  <!-- IMPORT partials/category/filter-dropdown-right.tpl -->
22
22
  <!-- IMPORT partials/tags/filter-dropdown-right.tpl -->
23
23
  <!-- IMPORT partials/category/tools-dropdown-right.tpl -->
package/templates/top.tpl CHANGED
@@ -15,7 +15,7 @@
15
15
  </div>
16
16
  <div class="d-flex gap-1">
17
17
  <!-- IMPORT partials/topic-terms.tpl -->
18
- <!-- IMPORT partials/topic-filters.tpl -->
18
+ <!-- IMPORT partials/topic-filters-right.tpl -->
19
19
  <!-- IMPORT partials/category/filter-dropdown-right.tpl -->
20
20
  <!-- IMPORT partials/category/tools-dropdown-right.tpl -->
21
21
  </div>
@@ -14,7 +14,7 @@
14
14
  </div>
15
15
 
16
16
  <div class="d-flex gap-1">
17
- <!-- IMPORT partials/topic-filters.tpl -->
17
+ <!-- IMPORT partials/topic-filters-right.tpl -->
18
18
  <!-- IMPORT partials/category/filter-dropdown-right.tpl -->
19
19
 
20
20
  <div class="markread {{{ if !topics.length }}}hidden{{{ end }}}">