nodebb-theme-harmony 2.0.0-pre.45 → 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.45",
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>