nodebb-theme-harmony 1.1.104 → 1.1.106
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/account/topics.tpl +4 -2
- package/templates/partials/chats/message.tpl +1 -1
- package/templates/partials/chats/pinned-messages-list.tpl +1 -1
- package/templates/partials/topic/post-editor.tpl +1 -1
- package/templates/partials/topic/post-menu-list.tpl +1 -1
- package/templates/partials/topic/post.tpl +2 -2
package/package.json
CHANGED
|
@@ -8,10 +8,12 @@
|
|
|
8
8
|
<button title="[[global:sort]]" class="btn-ghost-sm dropdown-toggle" data-bs-toggle="dropdown" type="button"><i class="fa-solid fa-arrow-up-wide-short"></i></button>
|
|
9
9
|
<ul class="dropdown-menu p-1 text-sm">
|
|
10
10
|
{{{each sortOptions }}}
|
|
11
|
-
<li
|
|
11
|
+
<li>
|
|
12
|
+
<a class="dropdown-item rounded-1 d-flex align-items-center gap-2" href="{config.relative_path}{./url}">
|
|
12
13
|
<div class="flex-grow-1">{./name}</div>
|
|
13
14
|
<i class="flex-shrink-0 fa fa-fw {{{if ./selected}}}fa-check{{{end}}}"></i>
|
|
14
|
-
|
|
15
|
+
</a>
|
|
16
|
+
</li>
|
|
15
17
|
{{{end}}}
|
|
16
18
|
</ul>
|
|
17
19
|
</div>
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
{{{ end }}}
|
|
16
16
|
<span class="chat-timestamp text-muted timeago" title="{messages.timestampISO}"></span>
|
|
17
17
|
|
|
18
|
-
<div component="chat/message/edited" class="text-muted ms-auto {{{ if !messages.edited }}}hidden{{{ end }}}" title="[[global:edited-timestamp, {messages.editedISO}]]"><i class="fa fa-edit"></i></span></div>
|
|
18
|
+
<div component="chat/message/edited" class="text-muted ms-auto {{{ if !messages.edited }}}hidden{{{ end }}}" title="[[global:edited-timestamp, {isoTimeToLocaleString(messages.editedISO, config.userLang)}]]"><i class="fa fa-edit"></i></span></div>
|
|
19
19
|
</div>
|
|
20
20
|
<div class="message-body-wrapper">
|
|
21
21
|
<div component="chat/message/body" class="message-body ps-0 py-0 overflow-auto text-break">
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<span class="chat-user fw-semibold"><a href="{config.relative_path}/user/{messages.fromUser.userslug}">{messages.fromUser.displayname}</a></span>
|
|
11
11
|
|
|
12
12
|
<span class="chat-timestamp text-muted timeago" title="{messages.timestampISO}"></span>
|
|
13
|
-
<div component="chat/message/edited" class="text-muted ms-auto {{{ if !messages.edited }}}hidden{{{ end }}}" title="[[global:edited-timestamp, {messages.editedISO}]]"><i class="fa fa-edit"></i></span></div>
|
|
13
|
+
<div component="chat/message/edited" class="text-muted ms-auto {{{ if !messages.edited }}}hidden{{{ end }}}" title="[[global:edited-timestamp, {isoTimeToLocaleString(messages.editedISO, config.userLang)}]]"><i class="fa fa-edit"></i></span></div>
|
|
14
14
|
</div>
|
|
15
15
|
<div class="message-body-wrapper">
|
|
16
16
|
<div component="chat/message/body" class="message-body ps-0 py-0 overflow-auto text-break">
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<span data-editor="{editor.userslug}" component="post/editor" class="visually-hidden">[[global:last-edited-by, {editor.username}]] <span class="timeago" title="{editedISO}"></span></span>
|
|
1
|
+
<span data-editor="{editor.userslug}" component="post/editor" class="visually-hidden">[[global:last-edited-by, {editor.username}]] <span class="timeago" title="{isoTimeToLocaleString(editedISO, config.userLang)}"></span></span>
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
{{{ end }}}
|
|
64
64
|
|
|
65
65
|
{{{ if !posts.deleted }}}
|
|
66
|
-
{{{ if
|
|
66
|
+
{{{ if posts.display_history}}}
|
|
67
67
|
<li>
|
|
68
68
|
<a class="dropdown-item rounded-1 d-flex align-items-center gap-2" component="post/view-history" role="menuitem" tabindex="-1" href="#">
|
|
69
69
|
<span class="menu-icon"><i class="fa fa-fw text-muted fa-history"></i></span> [[topic:view-history]]
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
{{{ end }}}
|
|
50
50
|
</span>
|
|
51
51
|
|
|
52
|
-
<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>
|
|
53
|
-
<span data-editor="{posts.editor.userslug}" component="post/editor" class="visually-hidden">[[global:last-edited-by, {posts.editor.username}]] <span class="timeago" title="{posts.editedISO}"></span></span>
|
|
52
|
+
<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, {isoTimeToLocaleString(./editedISO, config.userLang)}]]"></i>
|
|
53
|
+
<span data-editor="{posts.editor.userslug}" component="post/editor" class="visually-hidden">[[global:last-edited-by, {posts.editor.username}]] <span class="timeago" title="{isoTimeToLocaleString(posts.editedISO, config.userLang)}"></span></span>
|
|
54
54
|
</div>
|
|
55
55
|
|
|
56
56
|
<div>
|