nodebb-theme-harmony 2.1.30 → 2.1.32
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
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</div>
|
|
15
15
|
{{{ end }}}
|
|
16
16
|
{{{ if ./handleFull }}}
|
|
17
|
-
<p class="text-secondary text-sm fst-italic">
|
|
17
|
+
<p class="text-secondary text-sm fst-italic {{{ if config.theme.centerHeaderElements }}}text-center{{{ end }}}">
|
|
18
18
|
[[category:handle.description, {handleFull}]]
|
|
19
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
20
|
</p>
|
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
<!-- IMPORT partials/topic/mark-unread.tpl -->
|
|
6
6
|
<!-- IMPORT partials/topic/watch.tpl -->
|
|
7
7
|
<!-- IMPORT partials/topic/sort.tpl -->
|
|
8
|
+
<button component="topic/crosspost" title="[[topic:crosspost-topic]]" class="btn btn-ghost btn-sm ff-secondary d-flex gap-2 align-items-center dropdown-toggle text-truncate">
|
|
9
|
+
<i class="fa fa-fw fa-square-arrow-up-right text-primary"></i>
|
|
10
|
+
</button>
|
|
8
11
|
<!-- IMPORT partials/topic/tools.tpl -->
|
|
9
12
|
|
|
10
13
|
{{{ if (!feeds:disableRSS && rssFeedUrl) }}}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
<a class="d-inline-block" href="{./url}">
|
|
3
3
|
<img class="rounded-1 bg-light" style="width:auto; max-width: 5.33rem; height: 3.33rem; object-fit: contain;" src="{./url}" />
|
|
4
4
|
</a>
|
|
5
|
-
{{{ end }}}
|
|
6
|
-
{{{ if greaterthan(thumbs.length, "4") }}}
|
|
5
|
+
{{{ end }}}{{{ if greaterthan(thumbs.length, "4") }}}
|
|
7
6
|
<button component="topic/thumb/list/expand" class="btn btn-light fw-semibold" style="width:auto; max-width: 5.33rem; height: 3.33rem; object-fit: contain;">+{increment(thumbs.length, "-3")}</button>
|
|
8
7
|
{{{ end }}}
|
package/templates/topic.tpl
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
</div>
|
|
31
31
|
|
|
32
32
|
<div class="d-flex flex-column gap-3">
|
|
33
|
-
<div class="d-flex gap-2 flex-wrap flex-column flex-md-row justify-content-between">
|
|
33
|
+
<div class="d-flex gap-2 flex-wrap flex-column flex-md-row {{{ if config.theme.centerHeaderElements }}}justify-content-center{{{ else }}}justify-content-between{{{ end }}}">
|
|
34
34
|
<div class="d-flex flex-column gap-3">
|
|
35
35
|
<h1 component="post/header" class="tracking-tight fw-semibold fs-3 mb-0 text-break {{{ if config.theme.centerHeaderElements }}}text-center{{{ end }}}">
|
|
36
36
|
<span class="topic-title" component="topic/title">{title}</span>
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
<!-- IMPORT partials/topic/watch.tpl -->
|
|
112
112
|
<!-- IMPORT partials/topic/sort.tpl -->
|
|
113
113
|
<button component="topic/crosspost" class="btn btn-ghost btn-sm ff-secondary d-flex gap-2 align-items-center text-truncate">
|
|
114
|
-
<i class="fa fa-fw fa-
|
|
114
|
+
<i class="fa fa-fw fa-square-arrow-up-right text-primary"></i>
|
|
115
115
|
<span class="d-none d-md-inline fw-semibold text-truncate text-nowrap">[[topic:thread-tools.crosspost]]</span>
|
|
116
116
|
</button>
|
|
117
117
|
<!-- IMPORT partials/topic/tools.tpl -->
|