nodebb-theme-persona 14.1.4 → 14.1.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
package/templates/category.tpl
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
</div>
|
|
32
32
|
{{{ end }}}
|
|
33
33
|
|
|
34
|
-
{{{ if (./hasFollowers == false) }}}
|
|
34
|
+
{{{ if (./inbox && (./hasFollowers == false)) }}}
|
|
35
35
|
<div class="alert alert-warning mb-4" id="category-no-followers" data-bs-toggle="dropdown" data-bs-target='[component="topic/watch"] button' aria-hidden="true">
|
|
36
36
|
<i class="fa fa-triangle-exclamation pe-2"></i>
|
|
37
37
|
[[category:no-followers]]
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<!-- IF ../isSection -->
|
|
2
|
-
{../name}
|
|
3
|
-
<!-- ELSE -->
|
|
4
|
-
<!-- IF ../link -->
|
|
5
|
-
<a href="{../link}" itemprop="url">
|
|
6
|
-
<!-- ELSE -->
|
|
7
|
-
<a href="{config.relative_path}/category/{../slug}" itemprop="url">
|
|
8
|
-
<!-- ENDIF ../link -->
|
|
9
|
-
{../name}
|
|
10
|
-
</a>
|
|
1
|
+
<!-- IF ../isSection -->
|
|
2
|
+
{../name}
|
|
3
|
+
<!-- ELSE -->
|
|
4
|
+
<!-- IF ../link -->
|
|
5
|
+
<a href="{../link}" itemprop="url">
|
|
6
|
+
<!-- ELSE -->
|
|
7
|
+
<a href="{config.relative_path}/category/{../slug}" itemprop="url">
|
|
8
|
+
<!-- ENDIF ../link -->
|
|
9
|
+
{../name}
|
|
10
|
+
</a>
|
|
11
11
|
<!-- ENDIF ../isSection -->
|
|
@@ -12,4 +12,11 @@
|
|
|
12
12
|
<i class="fa fa-fw fa-eye visible-xs-inline" title="[[global:views]]"></i>
|
|
13
13
|
<span class="fw-bold" title="{viewcount}">{humanReadableNumber(viewcount)}</span>
|
|
14
14
|
<span class="hidden-xs text-lowercase fw-normal">[[global:views]]</span>
|
|
15
|
-
</span>
|
|
15
|
+
</span>
|
|
16
|
+
{{{ if ./followercount }}}
|
|
17
|
+
<span class="badge text-body border border-gray-300 stats text-xs">
|
|
18
|
+
<i class="fa fa-fw fa-bell-o visible-xs-inline" title="[[global:watching]]"></i>
|
|
19
|
+
<span class="fw-bold" title="{viewcount}">{humanReadableNumber(followercount)}</span>
|
|
20
|
+
<span class="hidden-xs text-lowercase fw-normal">[[global:watching]]</span>
|
|
21
|
+
</span>
|
|
22
|
+
{{{ end }}}
|