nodebb-theme-harmony 1.0.0-beta.49 → 1.0.0-beta.50
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,15 +4,29 @@
|
|
|
4
4
|
<form role="form" class="harmony-settings">
|
|
5
5
|
<div class="form-check form-switch">
|
|
6
6
|
<input type="checkbox" class="form-check-input" id="enableQuickReply" name="enableQuickReply" />
|
|
7
|
-
<label for="enableQuickReply" class="form-check-label">
|
|
7
|
+
<label for="enableQuickReply" class="form-check-label">[[harmony:settings.enableQuickReply]]</label>
|
|
8
8
|
</div>
|
|
9
9
|
<div class="form-check form-switch">
|
|
10
10
|
<input type="checkbox" class="form-check-input" id="centerHeaderElements" name="centerHeaderElements" />
|
|
11
|
-
<label for="centerHeaderElements" class="form-check-label">
|
|
11
|
+
<label for="centerHeaderElements" class="form-check-label">[[harmony:settings.centerHeaderElements]]</label>
|
|
12
12
|
</div>
|
|
13
13
|
<div class="form-check form-switch">
|
|
14
14
|
<input type="checkbox" class="form-check-input" id="stickyToolbar" name="stickyToolbar" />
|
|
15
|
-
<
|
|
15
|
+
<div for="stickyToolbar" class="form-check-label">
|
|
16
|
+
[[harmony:settings.stickyToolbar]]
|
|
17
|
+
<p class="form-text">
|
|
18
|
+
[[harmony:settings.stickyToolbar.help]]
|
|
19
|
+
</p>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="form-check form-switch">
|
|
23
|
+
<input type="checkbox" class="form-check-input" id="autohideBottombar" name="autohideBottombar" />
|
|
24
|
+
<div for="autohideBottombar" class="form-check-label">
|
|
25
|
+
[[harmony:settings.autohideBottombar]]
|
|
26
|
+
<p class="form-text">
|
|
27
|
+
[[harmony:settings.autohideBottombar.help]]
|
|
28
|
+
</p>
|
|
29
|
+
</div>
|
|
16
30
|
</div>
|
|
17
31
|
</form>
|
|
18
32
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{{ if privileges.topics:reply }}}
|
|
2
|
-
<div component="topic/quickreply/container" class="quick-reply d-flex gap-3">
|
|
2
|
+
<div component="topic/quickreply/container" class="quick-reply d-flex gap-3 mb-4">
|
|
3
3
|
<div class="icon hidden-xs">
|
|
4
4
|
<a class="d-inline-block position-relative" href="{{{ if loggedInUser.userslug }}}{config.relative_path}/user/{loggedInUser.userslug}{{{ else }}}#{{{ end }}}">
|
|
5
5
|
{buildAvatar(loggedInUser, "48px", true, "", "user/picture")}
|
package/templates/topic.tpl
CHANGED
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
<ul component="topic" class="posts timeline mt-sm-4 p-0 py-3" data-tid="{tid}" data-cid="{cid}">
|
|
53
53
|
{{{each posts}}}
|
|
54
54
|
<li component="post" class="pt-4 {{{ if posts.deleted }}}deleted{{{ end }}} {{{ if posts.selfPost }}}self-post{{{ end }}} {{{ if posts.topicOwnerPost }}}topic-owner-post{{{ end }}}" <!-- IMPORT partials/data/topic.tpl -->>
|
|
55
|
-
<a component="post/anchor" data-index="{
|
|
55
|
+
<a component="post/anchor" data-index="{./index}" id="{increment(./index, "1")}"></a>
|
|
56
56
|
|
|
57
|
-
<meta itemprop="datePublished" content="{
|
|
58
|
-
<meta itemprop="dateModified" content="{
|
|
57
|
+
<meta itemprop="datePublished" content="{./timestampISO}">
|
|
58
|
+
<meta itemprop="dateModified" content="{./editedISO}">
|
|
59
59
|
|
|
60
60
|
<!-- IMPORT partials/topic/post.tpl -->
|
|
61
61
|
</li>
|