nodebb-theme-harmony 1.1.67 → 1.1.69

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": "1.1.67",
3
+ "version": "1.1.69",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.5.0"
6
6
  },
@@ -27,22 +27,22 @@
27
27
  <a class="text-reset" href="{config.relative_path}/topic/{./slug}{{{ if ./bookmark }}}/{./bookmark}{{{ end }}}">{./title}</a>
28
28
  {{{ end }}}
29
29
  </h3>
30
- <span component="topic/labels" class="d-flex flex-wrap gap-1">
30
+ <span component="topic/labels" class="d-flex flex-wrap gap-1 w-100">
31
31
  <span component="topic/scheduled" class="badge border border-gray-300 text-body {{{ if !./scheduled }}}hidden{{{ end }}}">
32
32
  <i class="fa fa-clock-o"></i>
33
- [[topic:scheduled]]
33
+ <span class="d-none d-md-inline">[[topic:scheduled]]</span>
34
34
  </span>
35
35
  <span component="topic/pinned" class="badge border border-gray-300 text-body {{{ if (./scheduled || !./pinned) }}}hidden{{{ end }}}">
36
36
  <i class="fa fa-thumb-tack"></i>
37
- {{{ if !./pinExpiry }}}[[topic:pinned]]{{{ else }}}[[topic:pinned-with-expiry, {isoTimeToLocaleString(./pinExpiryISO)}]]{{{ end }}}
37
+ <span class="d-none d-md-inline">{{{ if !./pinExpiry }}}[[topic:pinned]]{{{ else }}}[[topic:pinned-with-expiry, {isoTimeToLocaleString(./pinExpiryISO)}]]{{{ end }}}</span>
38
38
  </span>
39
39
  <span component="topic/locked" class="badge border border-gray-300 text-body {{{ if !./locked }}}hidden{{{ end }}}">
40
40
  <i class="fa fa-lock"></i>
41
- [[topic:locked]]
41
+ <span class="d-none d-md-inline">[[topic:locked]]</span>
42
42
  </span>
43
43
  <span class="badge border border-gray-300 text-body {{{ if !./oldCid }}}hidden{{{ end }}}">
44
44
  <i class="fa fa-arrow-circle-right"></i>
45
- [[topic:moved]]
45
+ <span class="d-none d-md-inline">[[topic:moved]]</span>
46
46
  </span>
47
47
  {{{each ./icons}}}<span class="lh-1">{@value}</span>{{{end}}}
48
48
  {{{ if !template.category }}}
@@ -59,6 +59,9 @@
59
59
  {{{ if !config.theme.mobileTopicTeasers}}}
60
60
  <span class="visible-xs-inline badge bg-transparent text-muted fw-normal timeago" title="{{{ if ./teaser.timestampISO }}}{./teaser.timestampISO}{{{ else }}}{./timestampISO}{{{ end }}}"></span>
61
61
  {{{ end }}}
62
+ <div class="d-block d-lg-none ms-auto card card-header border-0 p-1 me-1 overflow-hidden rounded-1 d-flex">
63
+ <span class="text-xs fw-semibold lh-1">{humanReadableNumber(./postcount, 0)}</span>
64
+ </div>
62
65
  </span>
63
66
  {{{ if showSelect }}}
64
67
  <div class="checkbox position-absolute top-0 end-0 m-0 d-flex d-lg-none" style="max-width:max-content">