nodebb-theme-harmony 2.0.37 → 2.0.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
|
@@ -13,6 +13,12 @@
|
|
|
13
13
|
{./descriptionParsed}
|
|
14
14
|
</div>
|
|
15
15
|
{{{ end }}}
|
|
16
|
+
{{{ if ./handleFull }}}
|
|
17
|
+
<p class="text-secondary text-sm fst-italic">
|
|
18
|
+
[[category:handle.description, {handleFull}]]
|
|
19
|
+
<a href="#" class="link-secondary" data-action="copy" data-clipboard-text="{handleFull}"><i class="fa fa-fw fa-copy" aria-hidden="true"></i></a>
|
|
20
|
+
</p>
|
|
21
|
+
{{{ end }}}
|
|
16
22
|
<div class="d-flex flex-wrap gap-2 {{{ if config.theme.centerHeaderElements }}}justify-content-center{{{ end }}}">
|
|
17
23
|
<span class="badge text-body border border-gray-300 stats text-xs">
|
|
18
24
|
<span title="{totalTopicCount}" class="fw-bold">{humanReadableNumber(totalTopicCount)}</span>
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
</div>
|
|
20
20
|
<div class="mb-3 d-flex flex-wrap gap-1 w-100">
|
|
21
21
|
{buildCategoryLabel(./category, "a", "border")}
|
|
22
|
-
<span data-tid="{./topic.tid}" component="topic/tags" class="lh-1 tag-list
|
|
22
|
+
<span data-tid="{./topic.tid}" component="topic/tags" class="lh-1 tag-list d-flex flex-wrap gap-1 {{{ if !./topic.tags.length }}}hidden{{{ end }}}">
|
|
23
23
|
{{{ each ./topic.tags }}}
|
|
24
24
|
<a href="{config.relative_path}/tags/{./valueEncoded}"><span class="badge border border-gray-300 fw-normal tag tag-class-{./class}" data-tag="{./value}">{./valueEscaped}</span></a>
|
|
25
25
|
{{{ end }}}
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
{buildCategoryLabel(./category, "a", "border")}
|
|
55
55
|
{{{ end }}}
|
|
56
56
|
|
|
57
|
-
<span data-tid="{./tid}" component="topic/tags" class="lh-1 tag-list
|
|
57
|
+
<span data-tid="{./tid}" component="topic/tags" class="lh-1 tag-list d-flex flex-wrap gap-1 {{{ if !./tags.length }}}hidden{{{ end }}}">
|
|
58
58
|
{{{ each ./tags }}}
|
|
59
59
|
<a href="{config.relative_path}/tags/{./valueEncoded}"><span class="badge border border-gray-300 fw-normal tag tag-class-{./class}" data-tag="{./value}">{./valueEscaped}</span></a>
|
|
60
60
|
{{{ end }}}
|