nodebb-theme-persona 14.1.9 → 14.1.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/eslint.config.mjs +10 -0
- package/package.json +4 -4
- package/public/modules/autohidingnavbar.js +1 -0
- package/templates/account/info.tpl +1 -1
- package/templates/partials/quick-search-results.tpl +1 -1
- package/templates/partials/topic/post.tpl +2 -2
- package/.eslintrc +0 -3
- package/public/.eslintrc +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nodebb-theme-persona",
|
|
3
|
-
"version": "14.1.
|
|
3
|
+
"version": "14.1.11",
|
|
4
4
|
"nbbpm": {
|
|
5
5
|
"compatibility": "^4.0.0"
|
|
6
6
|
},
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"pulling": "^2.0.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"eslint": "
|
|
49
|
-
"eslint-config-nodebb": "^
|
|
50
|
-
"eslint-plugin-import": "^2.
|
|
48
|
+
"eslint": "9.25.1",
|
|
49
|
+
"eslint-config-nodebb": "^1.1.4",
|
|
50
|
+
"eslint-plugin-import": "^2.31.0"
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
{{{ if history.flags.targetPurged }}}
|
|
161
161
|
<div>[[flags:target-purged]]</div>
|
|
162
162
|
{{{ else }}}
|
|
163
|
-
<a class="title" href="{config.relative_path}/post/{./pid}">{./title}</a>
|
|
163
|
+
<a class="title" href="{config.relative_path}/post/{encodeURIComponent(./pid)}">{./title}</a>
|
|
164
164
|
{{{ end }}}
|
|
165
165
|
</p>
|
|
166
166
|
{{{ end }}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<ul id="quick-search-results" class="quick-search-results list-unstyled mb-0 p-0 overflow-auto ghost-scrollbar" style="max-width: {dropdown.maxWidth}; max-height: {dropdown.maxHeight};">
|
|
2
2
|
{{{each posts}}}
|
|
3
3
|
<li data-tid="{posts.topic.tid}" data-pid="{posts.pid}">
|
|
4
|
-
<a href="{config.relative_path}/post/{posts.pid}"
|
|
4
|
+
<a href="{config.relative_path}/post/{encodeURIComponent(posts.pid)}"
|
|
5
5
|
class="text-decoration-none text-reset clearfix d-block text-truncate px-3 py-1">
|
|
6
6
|
{buildAvatar(posts.user, "24px", true)}
|
|
7
7
|
<span class="quick-search-title fw-bold">{posts.topic.title}</span>
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
|
|
42
42
|
<span class="visible-xs-inline-block visible-sm-inline-block visible-md-inline-block visible-lg-inline-block">
|
|
43
43
|
{{{ if posts.toPid }}}
|
|
44
|
-
<a component="post/parent" class="btn btn-sm btn-ghost py-0 px-1 text-xs hidden-xs" data-topid="{posts.toPid}" href="{config.relative_path}/post/{posts.toPid}"><i class="fa fa-reply"></i> @{{{ if posts.parent.user.userslug }}}{posts.parent.user.username}{{{ else }}}[[global:guest]]{{{ end }}}</a>
|
|
44
|
+
<a component="post/parent" class="btn btn-sm btn-ghost py-0 px-1 text-xs hidden-xs" data-topid="{posts.toPid}" href="{config.relative_path}/post/{encodeURIComponent(posts.toPid)}"><i class="fa fa-reply"></i> @{{{ if posts.parent.user.userslug }}}{posts.parent.user.username}{{{ else }}}[[global:guest]]{{{ end }}}</a>
|
|
45
45
|
{{{ end }}}
|
|
46
46
|
|
|
47
47
|
<span>
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
<span data-editor="{posts.editor.userslug}" component="post/editor" class="hidden">[[global:last-edited-by, {posts.editor.username}]] <span class="timeago" title="{isoTimeToLocaleString(posts.editedISO, config.userLang)}"></span></span>
|
|
61
61
|
|
|
62
62
|
<span class="visible-xs-inline-block visible-sm-inline-block visible-md-inline-block visible-lg-inline-block">
|
|
63
|
-
<a class="permalink text-muted" href="{config.relative_path}/post/{posts.pid}"><span class="timeago" title="{posts.timestampISO}"></span></a>
|
|
63
|
+
<a class="permalink text-muted" href="{config.relative_path}/post/{encodeURIComponent(posts.pid)}"><span class="timeago" title="{posts.timestampISO}"></span></a>
|
|
64
64
|
</span>
|
|
65
65
|
</span>
|
|
66
66
|
<span class="bookmarked"><i class="fa fa-bookmark-o"></i></span>
|
package/.eslintrc
DELETED
package/public/.eslintrc
DELETED