nodebb-theme-harmony 2.1.26 → 2.1.27

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.1.26",
3
+ "version": "2.1.27",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.0.0"
6
6
  },
@@ -41,7 +41,7 @@
41
41
  "@fontsource/poppins": "5.2.7"
42
42
  },
43
43
  "devDependencies": {
44
- "eslint": "9.39.1",
44
+ "eslint": "9.39.2",
45
45
  "eslint-config-nodebb": "^1.1.4"
46
46
  }
47
47
  }
@@ -1,3 +1,11 @@
1
+ {{{ if ./crossposts.length }}}
2
+ <span class="badge text-body border border-gray-300 stats text-xs position-relative">
3
+ <i class="fa-regular fa-fw fa-clone visible-xs-inline" title="[[global:crossposts]]"></i>
4
+ <span component="topic/crosspost-count" title="{crossposts.length}" class="fw-bold">{humanReadableNumber(crossposts.length)}</span>
5
+ <span class="hidden-xs text-lowercase fw-normal">[[global:crossposts]]</span>
6
+ <a href="#" aria-label="[[aria:show-crossposts]]" id="show-crossposts" class="stretched-link"></a>
7
+ </span>
8
+ {{{ end }}}
1
9
  <span class="badge text-body border border-gray-300 stats text-xs">
2
10
  <i class="fa-regular fa-fw fa-message visible-xs-inline" title="[[global:posts]]"></i>
3
11
  <span component="topic/post-count" title="{postcount}" class="fw-bold">{humanReadableNumber(postcount)}</span>
@@ -54,7 +54,7 @@
54
54
  </span>
55
55
  {buildCategoryLabel(category, "a", "border")}
56
56
  <div data-tid="{./tid}" component="topic/tags" class="lh-1 tags tag-list d-flex flex-wrap hidden-xs hidden-empty gap-2"><!-- IMPORT partials/topic/tags.tpl --></div>
57
- <div class="d-flex gap-2"><!-- IMPORT partials/topic/stats.tpl --></div>
57
+ <div class="d-flex gap-2" component="topic/stats"><!-- IMPORT partials/topic/stats.tpl --></div>
58
58
  </div>
59
59
  </div>
60
60
  <div class="d-flex flex-wrap gap-2 align-items-start mt-2 hidden-empty {{{ if greaterthan(thumbs.length, "4") }}}thumbs-collapsed{{{ end }}}" component="topic/thumb/list"><!-- IMPORT partials/topic/thumbs.tpl --></div>