nodebb-theme-persona 14.2.37 → 14.2.39
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
package/templates/category.tpl
CHANGED
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
{{{ end }}}
|
|
20
20
|
{{{ end }}}
|
|
21
21
|
|
|
22
|
-
<a href="{url}" class="d-inline-block">
|
|
22
|
+
<a href="{escape(url)}" class="d-inline-block">
|
|
23
23
|
<div class="alert alert-warning h-100 m-0 px-2 py-1 d-flex gap-1 align-items-center hide" id="new-topics-alert"><i class="fa fa-fw fa-rotate-right"></i>[[recent:load-new-posts]]</div>
|
|
24
24
|
</a>
|
|
25
25
|
</div>
|
|
26
26
|
<div component="category/controls" class="d-flex gap-1">
|
|
27
27
|
{{{ if !isNumber(cid) }}}
|
|
28
|
-
<a href="{./url}" class="btn btn-sm d-flex gap-2 align-items-center" data-ajaxify="false">
|
|
28
|
+
<a href="{escape(./url)}" class="btn btn-sm d-flex gap-2 align-items-center" data-ajaxify="false">
|
|
29
29
|
<i class="fa fa-external-link text-primary"></i>
|
|
30
30
|
<span class="fw-semibold">View Original</span>
|
|
31
31
|
</a>
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
<!-- ENDIF picture -->
|
|
17
17
|
<span component="user/status" class="position-absolute border border-white border-2 rounded-circle status {status}"><span class="visually-hidden">[[global:{status}]]</span></span>
|
|
18
18
|
|
|
19
|
-
<!-- IF loggedIn -->
|
|
20
19
|
<!-- IF !isSelf -->
|
|
21
20
|
<button class="btn-morph persona-fab <!-- IF isFollowing -->heart<!-- ELSE -->plus<!-- ENDIF isFollowing -->" title="<!-- IF isFollowing -->[[global:unfollow]]<!-- ELSE -->[[global:follow]]<!-- ENDIF isFollowing -->">
|
|
22
21
|
<span>
|
|
@@ -26,7 +25,6 @@
|
|
|
26
25
|
</span>
|
|
27
26
|
</button>
|
|
28
27
|
<!-- ENDIF !isSelf -->
|
|
29
|
-
<!-- ENDIF loggedIn -->
|
|
30
28
|
</div>
|
|
31
29
|
|
|
32
30
|
<div class="container">
|