nodebb-theme-harmony 1.0.0-beta.81 → 1.0.0-beta.82
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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
{{{ each notifications }}}
|
|
6
6
|
<li class="{./readClass} mb-2 p-1" data-nid="{./nid}" data-path="{./path}" {{{ if ./pid }}}data-pid="{./pid}"{{{ end }}}{{{ if ./tid }}}data-tid="{./tid}"{{{ end }}}>
|
|
7
7
|
<div class="d-flex gap-1 justify-content-between">
|
|
8
|
-
<div class="d-flex gap-2">
|
|
8
|
+
<div class="d-flex gap-2 flex-grow-1">
|
|
9
9
|
{{{ if ./image }}}
|
|
10
10
|
{{{ if ./from }}}
|
|
11
11
|
<a class="text-decoration-none" href="{config.relative_path}/user/{./user.userslug}"><img class="avatar avatar-rounded" style="--avatar-size: 32px;" src="{./image}" /></a>
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
{{{ else }}}
|
|
14
14
|
<a class="text-decoration-none" href="{config.relative_path}/user/{./user.userslug}"><div class="avatar avatar-rounded" style="--avatar-size: 32px; background-color: {./user.icon:bgColor};">{./user.icon:text}</div></a>
|
|
15
15
|
{{{ end }}}
|
|
16
|
-
<div class=" d-flex flex-column">
|
|
17
|
-
<a href="{./path}" class="text-decoration-none text-reset text-break text-sm">
|
|
16
|
+
<div class=" d-flex flex-grow-1 flex-column position-relative">
|
|
17
|
+
<a href="{./path}" class="text-decoration-none text-reset text-break text-sm stretched-link">
|
|
18
18
|
{./bodyShort}
|
|
19
19
|
</a>
|
|
20
20
|
<div class="text-xs text-muted">{{{ if ./timeagoLong }}}{./timeagoLong}{{{ else }}}<span class="timeago" title="{./datetimeISO}"></span>{{{ end }}}</div>
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
<span class="badge bg-danger rounded-1">[[user:banned]]</span>
|
|
38
38
|
{{{ end }}}
|
|
39
39
|
|
|
40
|
-
<div class="d-flex gap-1
|
|
40
|
+
<div class="d-flex gap-1 align-items-center">
|
|
41
41
|
<span class="text-muted">
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
{{{ if posts.toPid }}}
|
|
43
|
+
{generateRepliedTo(@value, config.timeagoCutoff)}
|
|
44
|
+
{{{ else }}}
|
|
45
|
+
{generateWrote(@value, config.timeagoCutoff)}
|
|
46
|
+
{{{ end }}}
|
|
47
47
|
</span>
|
|
48
48
|
|
|
49
49
|
<i component="post/edit-indicator" class="fa fa-edit text-muted{{{ if privileges.posts:history }}} pointer{{{ end }}} edit-icon {{{ if !posts.editor.username }}}hidden{{{ end }}}" title="[[global:edited-timestamp, {./editedISO}]]"></i>
|
|
@@ -11,15 +11,19 @@
|
|
|
11
11
|
<div class="row">
|
|
12
12
|
<div class="col-md-7 col-sm-9 col-12 content d-flex">
|
|
13
13
|
<div class="me-3">
|
|
14
|
+
{{{ if ./thumbs.length }}}
|
|
15
|
+
<div class="topic-thumb">
|
|
16
|
+
<a href="{./thumbs.0.url}">
|
|
17
|
+
<img class="topic-thumb rounded-1" src="{./thumbs.0.url}" class="not-responsive" />
|
|
18
|
+
</a>
|
|
19
|
+
</div>
|
|
20
|
+
{{{ else }}}
|
|
14
21
|
<div class="avatar">
|
|
15
22
|
<a href="{{{ if ./user.userslug }}}{config.relative_path}/user/{./user.userslug}{{{ else }}}#{{{ end }}}" class="text-decoration-none">
|
|
16
|
-
{{{ if ./thumbs.length }}}
|
|
17
|
-
<img class="topic-thumb rounded-1" width="80" height="auto" src="{./thumbs.0.url}" class="not-responsive" />
|
|
18
|
-
{{{ else }}}
|
|
19
23
|
{buildAvatar(./user, "40px", true, "avatar-tooltip not-responsive")}
|
|
20
|
-
{{{ end }}}
|
|
21
24
|
</a>
|
|
22
25
|
</div>
|
|
26
|
+
{{{ end }}}
|
|
23
27
|
</div>
|
|
24
28
|
<div class="d-flex flex-column gap-1">
|
|
25
29
|
<h2 component="topic/header" class="text-break title mb-1 {{{ if showSelect }}}me-4{{{ end }}} me-md-0 text-md fw-bold">
|