nodebb-theme-harmony 1.1.65 → 1.1.67
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
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
</a>
|
|
5
5
|
<li component="post" class="posts-list-item {{{ if ./deleted }}} deleted{{{ else }}}{{{ if ./topic.deleted }}} deleted{{{ end }}}{{{ end }}}{{{ if ./topic.scheduled }}} scheduled{{{ end }}}" data-pid="{./pid}" data-uid="{./uid}">
|
|
6
6
|
<div class="post-body d-flex flex-column gap-1">
|
|
7
|
-
<div class="d-flex gap-3 post-info">
|
|
7
|
+
<div class="d-flex gap-3 post-info text-sm align-items-center">
|
|
8
8
|
<div class="post-author d-flex align-items-center gap-1">
|
|
9
9
|
<a class="lh-1 text-decoration-none" href="{config.relative_path}/user/{./user.userslug}">{buildAvatar(./user, "16px", true, "not-responsive")}</a>
|
|
10
|
-
<a class="fw-semibold
|
|
10
|
+
<a class="lh-1 fw-semibold" href="{config.relative_path}/user/{./user.userslug}">{../user.displayname}</a>
|
|
11
11
|
</div>
|
|
12
|
-
<span class="timeago text-
|
|
12
|
+
<span class="timeago text-muted lh-1" title="{./timestampISO}"></span>
|
|
13
13
|
</div>
|
|
14
14
|
|
|
15
15
|
<div component="post/content" class="content text-sm text-break">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
</a>
|
|
24
24
|
<div class="d-flex gap-1 post-info px-2 text-xs">
|
|
25
25
|
<div class="category-item d-inline-block ff-secondary">
|
|
26
|
-
|
|
26
|
+
{function.buildCategoryLabel, posts.category, "span"}
|
|
27
27
|
</div>
|
|
28
28
|
<span class="timeago text-muted" title="{posts.timestampISO}"></span>
|
|
29
29
|
</div>
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
</span>
|
|
47
47
|
{{{each ./icons}}}<span class="lh-1">{@value}</span>{{{end}}}
|
|
48
48
|
{{{ if !template.category }}}
|
|
49
|
-
|
|
49
|
+
{function.buildCategoryLabel, ./category, "a", "border"}
|
|
50
50
|
{{{ end }}}
|
|
51
51
|
|
|
52
52
|
<span data-tid="{./tid}" component="topic/tags" class="lh-1 tag-list hidden-xs d-flex flex-wrap gap-1 {{{ if !./tags.length }}}hidden{{{ end }}}">
|
package/templates/topic.tpl
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
</a>
|
|
34
34
|
{{{each icons}}}<span class="lh-1">{@value}</span>{{{end}}}
|
|
35
35
|
</span>
|
|
36
|
-
|
|
36
|
+
{function.buildCategoryLabel, category, "a", "border"}
|
|
37
37
|
<div data-tid="{./tid}" component="topic/tags" class="lh-1 tags tag-list d-flex flex-wrap hidden-xs hidden-empty gap-2"><!-- IMPORT partials/topic/tags.tpl --></div>
|
|
38
38
|
<div class="d-flex hidden-xs gap-2">
|
|
39
39
|
<!-- IMPORT partials/topic/stats.tpl -->
|