nodebb-theme-persona 15.0.9 → 15.0.11

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.0.9",
3
+ "version": "15.0.11",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.14.0"
6
6
  },
@@ -2,7 +2,7 @@
2
2
 
3
3
  <div>
4
4
  <div class="d-flex justify-content-between align-items-center mb-3">
5
- <h1 class="fs-4">{tx(title)}</h1>
5
+ <h1 class="fs-4">{{tx(title)}}</h1>
6
6
  <div class="mb-2">
7
7
  <div class="dropdown bottom-sheet" component="category/watch/all">
8
8
  <button class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" type="button" aria-haspopup="true" aria-expanded="false">
@@ -151,7 +151,7 @@
151
151
  {{{ end }}}
152
152
  </div>
153
153
  <p class="mb-1">
154
- <span class="reason">[[user:info.banned-reason-label]]: <strong>{tx(./reason)}</strong></span>
154
+ <span class="reason">[[user:info.banned-reason-label]]: <strong>{{tx(./reason)}}</strong></span>
155
155
  </p>
156
156
  <p>
157
157
  {{{ if ./until }}}
@@ -205,7 +205,7 @@
205
205
  {{{ end }}}
206
206
  </div>
207
207
  <p class="mb-1">
208
- <span class="reason">[[user:info.banned-reason-label]]: <strong>{tx(./reason)}</strong></span>
208
+ <span class="reason">[[user:info.banned-reason-label]]: <strong>{{tx(./reason)}}</strong></span>
209
209
  </p>
210
210
  <p>
211
211
  {{{ if ./until }}}
@@ -21,7 +21,7 @@
21
21
  </div>
22
22
 
23
23
  <!-- IF !posts.length -->
24
- <div class="alert alert-warning text-center">{tx(noItemsFoundKey)}</div>
24
+ <div class="alert alert-warning text-center">{{tx(noItemsFoundKey)}}</div>
25
25
  <!-- ENDIF !posts.length -->
26
26
 
27
27
  <div class="col-12">
@@ -8,7 +8,7 @@
8
8
  <div class="card card-body mb-3">
9
9
  <select class="form-select" id="bootswatchSkin" data-property="bootswatchSkin">
10
10
  {{{each bootswatchSkinOptions}}}
11
- <option value="{bootswatchSkinOptions.value}" {{{ if bootswatchSkinOptions.selected }}}selected{{{ end }}}>{tx(bootswatchSkinOptions.name)}</option>
11
+ <option value="{bootswatchSkinOptions.value}" {{{ if bootswatchSkinOptions.selected }}}selected{{{ end }}}>{{tx(bootswatchSkinOptions.name)}}</option>
12
12
  {{{end}}}
13
13
  </select>
14
14
  </div>
@@ -165,7 +165,7 @@
165
165
  <label class="form-label" for="dailyDigestFreq">[[user:digest-label]]</label>
166
166
  <select class="form-select" id="dailyDigestFreq" data-property="dailyDigestFreq" autocomplete="off">
167
167
  {{{each dailyDigestFreqOptions}}}
168
- <option value="{./value}" {{{ if ./selected }}}selected="1"{{{ end }}}>{tx(./name)}</option>
168
+ <option value="{./value}" {{{ if ./selected }}}selected="1"{{{ end }}}>{{tx(./name)}}</option>
169
169
  {{{end}}}
170
170
  </select>
171
171
  <p class="form-text">[[user:digest-description]]</p>
@@ -259,7 +259,7 @@
259
259
  <tr component="notification/setting" class="align-middle">
260
260
  <td style="width:100%;">
261
261
  <div class="align-items-center">
262
- <label class="text-sm tracking-tight" for="{./name}">{tx(./label)}</label>
262
+ <label class="text-sm tracking-tight" for="{./name}">{{tx(./label)}}</label>
263
263
  <input type="hidden" data-property="{./name}" value="{./value}">
264
264
  </div>
265
265
  </td>
@@ -1,6 +1,6 @@
1
1
  <!-- IMPORT partials/account/header.tpl -->
2
2
 
3
- <h1 class="fs-4">{tx(title)}</h1>
3
+ <h1 class="fs-4">{{tx(title)}}</h1>
4
4
  <input component="tags/watch" type="text" class="form-control">
5
5
 
6
6
  <!-- IMPORT partials/account/footer.tpl -->
@@ -10,7 +10,7 @@
10
10
  {{{each sortOptions }}}
11
11
  <li>
12
12
  <a class="dropdown-item rounded-1 d-flex align-items-center gap-2" href="{config.relative_path}{./url}" role="menuitem">
13
- <div class="flex-grow-1">{./name}</div>
13
+ <div class="flex-grow-1">{{tx(./name)}}</div>
14
14
  <i class="flex-shrink-0 fa fa-fw {{{if ./selected}}}fa-check{{{end}}}"></i>
15
15
  </a>
16
16
  </li>
@@ -32,7 +32,7 @@
32
32
 
33
33
 
34
34
  {{{ if !topics.length }}}
35
- <div class="alert alert-warning text-center">{tx(noItemsFoundKey)}</div>
35
+ <div class="alert alert-warning text-center">{{tx(noItemsFoundKey)}}</div>
36
36
  {{{ end }}}
37
37
 
38
38
  <div class="category">
@@ -1,5 +1,5 @@
1
1
  <!-- IMPORT partials/account/header.tpl -->
2
- <h1 class="fs-4">{tx(title)}</h1>
2
+ <h1 class="fs-4">{{tx(title)}}</h1>
3
3
  <!-- IF privateUploads -->
4
4
  <div class="alert alert-info text-center">[[uploads:private-uploads-info]]</div>
5
5
  <!-- ELSE -->
@@ -5,7 +5,7 @@
5
5
  <div class="d-flex gap-2 justify-content-end" role="toolbar">
6
6
  <div class="dropdown me-2">
7
7
  <button class="btn btn-ghost btn-sm dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
8
- {{{ if selectedFilter }}}{tx(selectedFilter.name)}{{{ end}}} <span class="caret"></span>
8
+ {{{ if selectedFilter }}}{{tx(selectedFilter.name)}}{{{ end}}} <span class="caret"></span>
9
9
  </button>
10
10
  <ul class="dropdown-menu dropdown-menu-end p-1" role="menu">
11
11
  {{{ each filters }}}
@@ -14,7 +14,7 @@
14
14
  {{{ else }}}
15
15
  <li role="presentation" class="category">
16
16
  <a class="dropdown-item rounded-1 d-flex gap-3 align-items-center justify-content-between" role="menuitem" href="{config.relative_path}/notifications?filter={filters.filter}">
17
- <span><i class="fa fa-fw {{{ if filters.selected }}}fa-check{{{ end }}}"></i> {tx(filters.name)}</span>
17
+ <span><i class="fa fa-fw {{{ if filters.selected }}}fa-check{{{ end }}}"></i> {{tx(filters.name)}}</span>
18
18
  <span class="">{./count}</span>
19
19
  </a>
20
20
  </li>
@@ -1,4 +1,4 @@
1
1
  <div class="cookie-consent">
2
- <button class="float-end btn btn-primary">{tx(dismiss)}</button>
3
- {tx(message)} <a target="_blank" rel="noopener" href="{link_url}">{tx(link)}</a>
2
+ <button class="float-end btn btn-primary">{{tx(dismiss){}}</button>
3
+ {{tx(message)}} <a target="_blank" rel="noopener" href="{link_url}">{{tx(link)}}</a>
4
4
  </div>
@@ -54,7 +54,7 @@
54
54
  <i class="fa fa-fw {navigation.iconClass}" data-content="{./content}"></i>
55
55
  {{{ end }}}
56
56
  {{{ if ./text }}}
57
- <span class="{./textClass}">{tx(./text)}</span>
57
+ <span class="{./textClass}">{{tx(./text)}}</span>
58
58
  {{{ end }}}
59
59
  {{{ if navigation.dropdown}}}
60
60
  <i class="fa fa-caret-down"></i>
@@ -2,7 +2,7 @@
2
2
  <h5 class="float-start tag-container me-5 mb-5 fw-bold">
3
3
  <a href="{config.relative_path}/tags/{./valueEncoded}" data-tag="{./value}">
4
4
  <span class="tag-item text-muted text-uppercase text-nowrap tag-class-{tags.class} me-2" data-tag="{tags.value}">{./value}</span>
5
- <span class="tag-topic-count text-primary text-nowrap" title="{./score}">{tx("global:x-topics", formattedNumber(./score))}</span>
5
+ <span class="tag-topic-count text-primary text-nowrap" title="{./score}">{{tx("global:x-topics", formattedNumber(./score))}}</span>
6
6
  </a>
7
7
  </h5>
8
8
  {{{end}}}
@@ -9,4 +9,4 @@
9
9
  </small>
10
10
  </div>
11
11
 
12
- <div>{{{ if post.txContent }}}{{tx(posts.content)}}{{{ else }}}{{txEscape(post.content))}}{{{ end }}}</div>
12
+ <div>{{{ if post.txContent }}}{{tx(posts.content)}}{{{ else }}}{{txEscape(post.content)}}{{{ end }}}</div>
@@ -1,3 +1,3 @@
1
1
  <li component="topic/necro-post" class="necro-post text-muted timeline-event">
2
- <span class="timeline-text">{tx(text)}</span>
2
+ <span class="timeline-text">{{tx(text)}}</span>
3
3
  </li>
@@ -92,7 +92,7 @@
92
92
  {{{ end }}}
93
93
  </span>
94
94
 
95
- <span class="replies-count small" component="post/reply-count/text" data-replies="{posts.replies.count}">{tx(posts.replies.text)}</span>
95
+ <span class="replies-count small" component="post/reply-count/text" data-replies="{posts.replies.count}">{{tx(posts.replies.text)}}</span>
96
96
  <span class="replies-last hidden-xs small">[[topic:last-reply-time]] <span class="timeago" title="{posts.replies.timestampISO}"></span></span>
97
97
 
98
98
  <i class="fa fa-fw fa-chevron-down" component="post/replies/open"></i>