nodebb-theme-harmony 3.2.13 → 3.2.14
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nodebb-theme-harmony",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.14",
|
|
4
4
|
"nbbpm": {
|
|
5
5
|
"compatibility": "^4.15.1"
|
|
6
6
|
},
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@fontsource/poppins": "5.2.7"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"eslint": "10.9.
|
|
48
|
+
"eslint": "10.9.1",
|
|
49
49
|
"eslint-config-nodebb": "^2.0.2"
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
<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}">
|
|
2
2
|
<hr/>
|
|
3
|
-
<a class="topic-title fw-semibold fs-5 mb-
|
|
4
|
-
{
|
|
3
|
+
<a class="topic-title fw-semibold fs-5 mb-1 text-reset text-break d-block" href="{config.relative_path}/post/{encodeURIComponent(./pid)}">
|
|
4
|
+
{./topic.title}
|
|
5
5
|
</a>
|
|
6
6
|
|
|
7
|
-
<div class="post-body d-flex flex-column gap-
|
|
8
|
-
<div class="d-flex gap-2 post-info text-sm align-items-center">
|
|
7
|
+
<div class="post-body d-flex flex-column gap-3 mb-2">
|
|
8
|
+
<div class="d-flex flex-wrap gap-2 post-info text-sm align-items-center">
|
|
9
9
|
<div class="post-author d-flex align-items-center gap-1">
|
|
10
10
|
<a class="lh-1 text-decoration-none" href="{config.relative_path}/user/{./user.userslug}">{{buildAvatar(./user, "16px", true, "not-responsive")}}</a>
|
|
11
11
|
<a class="lh-1 fw-semibold" href="{config.relative_path}/user/{./user.userslug}">{{txDisplayname(./user)}}</a>
|
|
12
12
|
</div>
|
|
13
13
|
<span class="timeago text-muted lh-1" title="{./timestampISO}"></span>
|
|
14
|
+
<div class="d-flex flex-wrap gap-1">
|
|
15
|
+
{{buildCategoryLabel(./category, "a", "border")}}
|
|
16
|
+
<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 }}}">
|
|
17
|
+
{{{ each ./topic.tags }}}
|
|
18
|
+
<a href="{config.relative_path}/tags/{./valueEncoded}"><span class="badge border border-gray-300 fw-normal tag tag-class-{./class}" data-tag="{./value}">{./value}</span></a>
|
|
19
|
+
{{{ end }}}
|
|
20
|
+
</span>
|
|
21
|
+
</div>
|
|
14
22
|
</div>
|
|
15
23
|
|
|
16
24
|
<div component="post/content" class="content text-sm text-break">
|
|
17
25
|
{{{ if ./txContent }}}{{tx(./content)}}{{{ else }}}{{./content}}{{{ end }}}
|
|
18
26
|
</div>
|
|
19
27
|
</div>
|
|
20
|
-
<div class="mb-3 d-flex flex-wrap gap-1 w-100">
|
|
21
|
-
{{buildCategoryLabel(./category, "a", "border")}}
|
|
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
|
-
{{{ each ./topic.tags }}}
|
|
24
|
-
<a href="{config.relative_path}/tags/{./valueEncoded}"><span class="badge border border-gray-300 fw-normal tag tag-class-{./class}" data-tag="{./value}">{./value}</span></a>
|
|
25
|
-
{{{ end }}}
|
|
26
|
-
</span>
|
|
27
|
-
</div>
|
|
28
28
|
</li>
|