nodebb-theme-harmony 2.0.6 → 2.0.7
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
|
@@ -21,25 +21,27 @@
|
|
|
21
21
|
</div>
|
|
22
22
|
<div class="post-container d-flex gap-2 flex-grow-1 flex-column w-100" style="min-width:0;">
|
|
23
23
|
<div class="d-flex align-items-start justify-content-between gap-1 flex-nowrap w-100 post-header" itemprop="author" itemscope itemtype="https://schema.org/Person">
|
|
24
|
-
<div class="d-flex gap-1 flex-wrap align-items-center">
|
|
24
|
+
<div class="d-flex gap-1 flex-wrap align-items-center text-truncate">
|
|
25
25
|
<meta itemprop="name" content="{./user.displayname}">
|
|
26
26
|
{{{ if ./user.userslug }}}<meta itemprop="url" content="{config.relative_path}/user/{./user.userslug}">{{{ end }}}
|
|
27
27
|
|
|
28
|
-
<div class="
|
|
29
|
-
<
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
<span class="
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
28
|
+
<div class="d-flex flex-nowrap gap-1 align-items-center text-truncate">
|
|
29
|
+
<div class="bg-body d-sm-none">
|
|
30
|
+
<a class="d-inline-block position-relative text-decoration-none" href="{{{ if ./user.userslug }}}{config.relative_path}/user/{./user.userslug}{{{ else }}}#{{{ end }}}">
|
|
31
|
+
{buildAvatar(posts.user, "20px", true, "", "user/picture")}
|
|
32
|
+
{{{ if ./user.isLocal }}}
|
|
33
|
+
<span component="user/status" class="position-absolute top-100 start-100 border border-white border-2 rounded-circle status {posts.user.status}"><span class="visually-hidden">[[global:{posts.user.status}]]</span></span>
|
|
34
|
+
{{{ else }}}
|
|
35
|
+
<span component="user/locality" class="position-absolute top-100 start-100 lh-1 border border-white border-2 rounded-circle small" title="[[global:remote-user]]">
|
|
36
|
+
<span class="visually-hidden">[[global:remote-user]]</span>
|
|
37
|
+
<i class="fa fa-globe"></i>
|
|
38
|
+
</span>
|
|
39
|
+
{{{ end }}}
|
|
40
|
+
</a>
|
|
41
|
+
</div>
|
|
41
42
|
|
|
42
|
-
|
|
43
|
+
<a class="fw-bold text-nowrap text-truncate" href="{{{ if ./user.userslug }}}{config.relative_path}/user/{./user.userslug}{{{ else }}}#{{{ end }}}" data-username="{posts.user.username}" data-uid="{posts.user.uid}">{posts.user.displayname}</a>
|
|
44
|
+
</div>
|
|
43
45
|
|
|
44
46
|
{{{ each posts.user.selectedGroups }}}
|
|
45
47
|
{{{ if posts.user.selectedGroups.slug }}}
|