nodebb-theme-harmony 2.0.0-pre.44 → 2.0.0-pre.46

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-harmony",
3
- "version": "2.0.0-pre.44",
3
+ "version": "2.0.0-pre.46",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.7.0"
6
6
  },
@@ -0,0 +1,20 @@
1
+ <!-- IMPORT partials/account/header.tpl -->
2
+
3
+ <div class="d-flex justify-content-between align-items-center mb-3">
4
+ <div class="d-flex gap-1">
5
+ <h3 class="fw-semibold fs-5">[[pages:account/shares, {username}]]</h3>
6
+ </div>
7
+ </div>
8
+
9
+ {{{ if !topics.length }}}
10
+ <div class="alert alert-warning text-center">{noItemsFoundKey}</div>
11
+ {{{ end }}}
12
+
13
+ <div class="category">
14
+ <!-- IMPORT partials/topics_list.tpl -->
15
+ {{{ if config.usePagination }}}
16
+ <!-- IMPORT partials/paginator.tpl -->
17
+ {{{ end }}}
18
+ </div>
19
+
20
+ <!-- IMPORT partials/account/footer.tpl -->
@@ -3,6 +3,7 @@
3
3
  <a href="{config.relative_path}/user/{userslug}" class="btn btn-ghost btn-sm text-start ff-secondary fw-semibold {{{ if template.account/profile }}}active{{{ end }}}">
4
4
  <div class="flex-grow-1">[[global:about]]</div>
5
5
  </a>
6
+
6
7
  <a href="{config.relative_path}/user/{userslug}/posts"class="btn btn-ghost btn-sm text-start ff-secondary fw-semibold d-flex gap-2 align-items-center
7
8
  {{{ if template.account/posts }}}active{{{ end }}}
8
9
  {{{ if template.account/best }}}active{{{ end }}}
@@ -13,6 +14,7 @@
13
14
  <div class="flex-grow-1">[[global:posts]]</div>
14
15
  <span class="flex-shrink-0 text-xs" title="{counts.posts}">{humanReadableNumber(counts.posts)}</span>
15
16
  </a>
17
+
16
18
  <a href="{config.relative_path}/user/{userslug}/topics" class="btn btn-ghost btn-sm text-start ff-secondary fw-semibold d-flex gap-2 align-items-center
17
19
  {{{ if template.account/topics }}}active{{{ end }}}
18
20
  {{{ if template.account/watched }}}active{{{ end }}}
@@ -20,6 +22,13 @@
20
22
  <div class="flex-grow-1">[[global:topics]]</div>
21
23
  <span class="flex-shrink-0 text-xs" title="{counts.topics}">{humanReadableNumber(counts.topics)}</span>
22
24
  </a>
25
+
26
+ <a href="{config.relative_path}/user/{userslug}/shares" class="btn btn-ghost btn-sm text-start ff-secondary fw-semibold d-flex gap-2 align-items-center
27
+ {{{ if template.account/shares }}}active{{{ end }}}">
28
+ <div class="flex-grow-1">[[user:shares]]</div>
29
+ <span class="flex-shrink-0 text-xs" title="{counts.shares}">{humanReadableNumber(counts.shares)}</span>
30
+ </a>
31
+
23
32
  <a href="{config.relative_path}/user/{userslug}/groups" class="btn btn-ghost btn-sm text-start ff-secondary fw-semibold d-flex gap-2 align-items-center
24
33
  {{{ if template.account/groups }}}active{{{ end }}}">
25
34
  <div class="flex-grow-1">[[global:header.groups]]</div>
@@ -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="[[activitypub:announcers]]"><i class="fa fa-share-alt text-primary"></i> {./announces}</a>
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 }}}
@@ -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 }}}
@@ -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">[[activitypub:world.popular]]</a>
22
- <a class="btn btn-sm btn-link" href="{config.relative_path}/recent?cid=-1">[[activitypub:world.recent]]</a>
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
- [[activitypub:world.help]]
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="alert alert-info" id="category-no-topics">[[activitypub:no-topics]]</div>
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 -->