nodebb-theme-harmony 1.1.66 → 1.1.68

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.66",
3
+ "version": "1.1.68",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.5.0"
6
6
  },
@@ -23,7 +23,7 @@
23
23
  </a>
24
24
  <div class="d-flex gap-1 post-info px-2 text-xs">
25
25
  <div class="category-item d-inline-block ff-secondary">
26
- <span>{function.buildCategoryLabel, posts.category}</span>
26
+ {function.buildCategoryLabel, posts.category, "span"}
27
27
  </div>
28
28
  <span class="timeago text-muted" title="{posts.timestampISO}"></span>
29
29
  </div>
@@ -27,7 +27,7 @@
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
33
  [[topic:scheduled]]
@@ -46,7 +46,7 @@
46
46
  </span>
47
47
  {{{each ./icons}}}<span class="lh-1">{@value}</span>{{{end}}}
48
48
  {{{ if !template.category }}}
49
- <a class="lh-1" href="{config.relative_path}/category/{./category.slug}">{function.buildCategoryLabel, ./category, "border"}</a>
49
+ {function.buildCategoryLabel, ./category, "a", "border"}
50
50
  {{{ end }}}
51
51
 
52
52
  <span data-tid="{./tid}" component="topic/tags" class="lh-1 tag-list hidden-xs d-flex flex-wrap gap-1 {{{ if !./tags.length }}}hidden{{{ end }}}">
@@ -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">
@@ -33,7 +33,7 @@
33
33
  </a>
34
34
  {{{each icons}}}<span class="lh-1">{@value}</span>{{{end}}}
35
35
  </span>
36
- <a class="lh-1" href="{config.relative_path}/category/{category.slug}">{function.buildCategoryLabel, category, "border"}</a>
36
+ {function.buildCategoryLabel, category, "a", "border"}
37
37
  <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>
38
38
  <div class="d-flex hidden-xs gap-2">
39
39
  <!-- IMPORT partials/topic/stats.tpl -->