nodebb-theme-harmony 2.0.0 → 2.0.2
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 +1 -1
- package/templates/category.tpl +1 -1
- package/templates/partials/topic/post.tpl +2 -2
- package/package-lock.json +0 -2338
package/package.json
CHANGED
package/templates/category.tpl
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div class="category-header d-flex flex-column gap-2">
|
|
7
7
|
<div class="d-flex gap-2 align-items-center mb-1 {{{ if config.theme.centerHeaderElements }}}justify-content-center{{{ end }}}">
|
|
8
8
|
{buildCategoryIcon(@value, "40px", "rounded-1 flex-shrink-0")}
|
|
9
|
-
<h1 class="tracking-tight fs-2 fw-semibold mb-0
|
|
9
|
+
<h1 class="tracking-tight fs-2 fw-semibold mb-0">{./name}</h1>
|
|
10
10
|
</div>
|
|
11
11
|
{{{ if ./descriptionParsed }}}
|
|
12
12
|
<div class="description text-secondary text-sm w-100 {{{ if config.theme.centerHeaderElements }}}text-center{{{ end }}}">
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
<div component="post/signature" data-uid="{posts.user.uid}" class="text-xs text-muted mt-2">{posts.user.signature}</div>
|
|
85
85
|
{{{ end }}}
|
|
86
86
|
|
|
87
|
-
<div class="d-flex flex-wrap {{{ if (hideReplies || !posts.replies.count) }}}justify-content-end{{{ else }}}justify-content-between{{{ end }}}">
|
|
87
|
+
<div class="d-flex flex-wrap gap-2 {{{ if (hideReplies || !posts.replies.count) }}}justify-content-end{{{ else }}}justify-content-between{{{ end }}}">
|
|
88
88
|
{{{ if !hideReplies }}}
|
|
89
89
|
<a component="post/reply-count" data-target-component="post/replies/container" href="#" class="d-flex gap-2 align-items-center btn btn-ghost ff-secondary border rounded-1 p-1 text-muted text-decoration-none text-xs {{{ if (!./replies || shouldHideReplyContainer(@value)) }}}hidden{{{ end }}}">
|
|
90
90
|
<span component="post/reply-count/avatars" class="d-flex gap-1 {{{ if posts.replies.hasMore }}}hasMore{{{ end }}}">
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
<i class="fa fa-fw fa-chevron-down" component="post/replies/open"></i>
|
|
103
103
|
</a>
|
|
104
104
|
{{{ end }}}
|
|
105
|
-
<div component="post/actions" class="d-flex flex-grow-1 justify-content-end gap-1 post-tools">
|
|
105
|
+
<div component="post/actions" class="d-flex flex-grow-1 align-items-center justify-content-end gap-1 post-tools">
|
|
106
106
|
<!-- IMPORT partials/topic/reactions.tpl -->
|
|
107
107
|
<a component="post/reply" href="#" class="btn btn-ghost btn-sm {{{ if !privileges.topics:reply }}}hidden{{{ end }}}" title="[[topic:reply]]"><i class="fa fa-fw fa-reply text-primary"></i></a>
|
|
108
108
|
<a component="post/quote" href="#" class="btn btn-ghost btn-sm {{{ if !privileges.topics:reply }}}hidden{{{ end }}}" title="[[topic:quote]]"><i class="fa fa-fw fa-quote-right text-primary"></i></a>
|