nodebb-theme-harmony 2.0.0-pre.44 → 2.0.0-pre.45
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
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
<a component="post/quote" href="#" class="btn btn-ghost btn-sm {{{ if !privileges.topics:reply }}}hidden{{{ end }}}" title="[[topic:quote]]"><i class="fa fa-fw fa-quote-right text-primary"></i></a>
|
|
109
109
|
|
|
110
110
|
{{{ if ./announces }}}
|
|
111
|
-
<a component="post/announce-count" href="#" class="btn btn-ghost btn-sm d-flex gap-2 align-items-center" title="[[
|
|
111
|
+
<a component="post/announce-count" href="#" class="btn btn-ghost btn-sm d-flex gap-2 align-items-center" title="[[topic:announcers]]"><i class="fa fa-share-alt text-primary"></i> {./announces}</a>
|
|
112
112
|
{{{ end }}}
|
|
113
113
|
|
|
114
114
|
{{{ if !reputation:disabled }}}
|
package/templates/recent.tpl
CHANGED
|
@@ -15,6 +15,13 @@
|
|
|
15
15
|
<div class="alert alert-info" id="category-no-topics">[[recent:no-recent-topics]]</div>
|
|
16
16
|
{{{ end }}}
|
|
17
17
|
|
|
18
|
+
{{{ if (selectedCategory.cid == "-1") }}}
|
|
19
|
+
<div class="py-3">
|
|
20
|
+
<h4>[[recent:uncategorized.title]]</h4>
|
|
21
|
+
<p>[[recent:uncategorized.intro]]</p>
|
|
22
|
+
</div>
|
|
23
|
+
{{{ end }}}
|
|
24
|
+
|
|
18
25
|
<!-- IMPORT partials/topics_list.tpl -->
|
|
19
26
|
|
|
20
27
|
{{{ if config.usePagination }}}
|
package/templates/world.tpl
CHANGED
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
{{{ end }}}
|
|
19
19
|
|
|
20
20
|
<p class="description text-secondary text-sm w-100 {{{ if config.theme.centerHeaderElements }}}text-center{{{ end }}}">
|
|
21
|
-
<a class="btn btn-sm btn-link" href="{config.relative_path}/popular?term=daily&cid=-1">[[
|
|
22
|
-
<a class="btn btn-sm btn-link" href="{config.relative_path}/recent?cid=-1">[[
|
|
21
|
+
<a class="btn btn-sm btn-link" href="{config.relative_path}/popular?term=daily&cid=-1">[[world:popular]]</a>
|
|
22
|
+
<a class="btn btn-sm btn-link" href="{config.relative_path}/recent?cid=-1">[[world:recent]]</a>
|
|
23
23
|
<button class="btn btn-sm btn-link" id="world-help">
|
|
24
24
|
<i class="fa fa-question"></i>
|
|
25
|
-
[[
|
|
25
|
+
[[world:help]]
|
|
26
26
|
</button>
|
|
27
27
|
</p>
|
|
28
28
|
</div>
|
|
@@ -33,7 +33,17 @@
|
|
|
33
33
|
|
|
34
34
|
<div class="category">
|
|
35
35
|
{{{ if !topics.length }}}
|
|
36
|
-
<div class="
|
|
36
|
+
<div class="row">
|
|
37
|
+
<div class="col-md-10 offset-md-1 d-flex align-items-center">
|
|
38
|
+
<div>
|
|
39
|
+
<h2 class="fs-4 mb-3">[[world:onboard.title]]</h2>
|
|
40
|
+
<p>[[world:onboard.what]]</p>
|
|
41
|
+
<p>[[world:onboard.why]]</p>
|
|
42
|
+
<p>[[world:onboard.how]]</p>
|
|
43
|
+
</div>
|
|
44
|
+
<i class="fa fa-comment-nodes fa-8x p-3"></i>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
37
47
|
{{{ end }}}
|
|
38
48
|
|
|
39
49
|
<!-- IMPORT partials/topics_list.tpl -->
|