nodebb-theme-harmony 2.2.67 → 2.2.69
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-harmony",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.69",
|
|
4
4
|
"nbbpm": {
|
|
5
5
|
"compatibility": "^4.0.0"
|
|
6
6
|
},
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@fontsource/poppins": "5.2.7"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"eslint": "10.
|
|
48
|
+
"eslint": "10.4.0",
|
|
49
49
|
"eslint-config-nodebb": "^2.0.0"
|
|
50
50
|
}
|
|
51
51
|
}
|
package/templates/category.tpl
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<span class="text-lowercase fw-normal">[[global:posts]]</span>
|
|
19
19
|
</span>
|
|
20
20
|
{{{ if !isNumber(cid) }}}
|
|
21
|
-
<a href="{./url}" class="badge text-body border border-gray-300 text-xs" data-ajaxify="false">
|
|
21
|
+
<a href="{escape(./url)}" class="badge text-body border border-gray-300 text-xs" data-ajaxify="false">
|
|
22
22
|
<span class="fw-normal">View Original</span>
|
|
23
23
|
<i class="fa fa-external-link"></i>
|
|
24
24
|
</a>
|
|
@@ -66,12 +66,10 @@
|
|
|
66
66
|
</div>
|
|
67
67
|
|
|
68
68
|
<div class="flex-shrink-0 d-flex gap-1 align-self-stretch align-self-md-start justify-content-end">
|
|
69
|
-
{{{ if loggedIn }}}
|
|
70
69
|
{{{ if !isSelf }}}
|
|
71
70
|
<a component="account/unfollow" href="#" class="btn btn-outline-warning flex-fill{{{ if (!isFollowing && !isFollowPending) }}} hide{{{ end }}}">[[user:{{{ if isFollowPending }}}cancel-follow{{{ else }}}unfollow{{{ end }}}]]</a>
|
|
72
71
|
<a component="account/follow" href="#" class="btn btn-primary flex-fill{{{ if (isFollowing || isFollowPending) }}} hide{{{ end }}}">[[user:follow]]</a>
|
|
73
72
|
{{{ end }}}
|
|
74
|
-
{{{ end }}}
|
|
75
73
|
|
|
76
74
|
{{{ if (canChat && !banned) }}}
|
|
77
75
|
<div class="btn-group flex-fill">
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
|
|
55
55
|
<!-- IMPORT partials/category/tools-dropdown-left.tpl -->
|
|
56
56
|
|
|
57
|
-
<a href="{{{ if (template.category || template.world) }}}{url}{{{ else }}}{config.relative_path}/{selectedFilter.url}{querystring}{{{ end }}}" class="btn btn-secondary fw-semibold position-absolute top-100 translate-middle-x start-50 mt-1 hide" style="--bs-btn-padding-y: .25rem; --bs-btn-padding-x: .5rem; --bs-btn-font-size: .75rem;" id="new-topics-alert">
|
|
57
|
+
<a href="{{{ if (template.category || template.world) }}}{escape(url)}{{{ else }}}{config.relative_path}/{selectedFilter.url}{querystring}{{{ end }}}" class="btn btn-secondary fw-semibold position-absolute top-100 translate-middle-x start-50 mt-1 hide" style="--bs-btn-padding-y: .25rem; --bs-btn-padding-x: .5rem; --bs-btn-font-size: .75rem;" id="new-topics-alert">
|
|
58
58
|
<i class="fa fa-fw fa-arrow-up"></i> [[recent:load-new-posts]]
|
|
59
59
|
</a>
|
|
60
60
|
</div>
|