nodebb-theme-harmony 3.0.12 → 3.0.14

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": "3.0.12",
3
+ "version": "3.0.14",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.14.0"
6
6
  },
@@ -45,7 +45,7 @@
45
45
  "@fontsource/poppins": "5.2.7"
46
46
  },
47
47
  "devDependencies": {
48
- "eslint": "10.5.0",
48
+ "eslint": "10.6.0",
49
49
  "eslint-config-nodebb": "^2.0.2"
50
50
  }
51
51
  }
@@ -55,9 +55,7 @@
55
55
  <div class="row flex-fill mt-3">
56
56
  <div class="category d-flex flex-column {{{if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
57
57
  <!-- IMPORT partials/category/subcategory.tpl -->
58
- {{{ if (topics.length || privileges.topics:create) }}}
59
58
  <!-- IMPORT partials/topic-list-bar.tpl -->
60
- {{{ end }}}
61
59
 
62
60
  {{{ if (./inbox && (./hasFollowers == false)) }}}
63
61
  <div class="alert alert-warning mb-4" id="category-no-followers" data-bs-toggle="dropdown" data-bs-target='[component="topic/watch"] button' aria-hidden="true">
@@ -2,7 +2,7 @@
2
2
  {{{ each ./children }}}
3
3
  {{{ if !./isSection }}}
4
4
  <li data-cid="{./cid}" class="category-children-item small">
5
- <div class="d-flex gap-1">
5
+ <div class="d-flex gap-1 text-break">
6
6
  <i class="fa fa-fw fa-caret-right text-primary" style="line-height: var(--bs-body-line-height);"></i>
7
7
  <a href="{{{ if ./link }}}{./link}{{{ else }}}{config.relative_path}/category/{./slug}{{{ end }}}" class="text-reset fw-semibold flex-1">{./name}</a>
8
8
  </div>
@@ -4,9 +4,11 @@
4
4
  <div component="category/controls" class="d-flex flex-wrap align-items-stretch me-auto mb-0 gap-2">
5
5
  {{{ if template.category }}}
6
6
  <!-- IMPORT partials/category/watch.tpl -->
7
+ {{{ if topic_count }}}
7
8
  <!-- IMPORT partials/tags/filter-dropdown-left.tpl -->
8
9
  <!-- IMPORT partials/category/sort.tpl -->
9
10
  {{{ end }}}
11
+ {{{ end }}}
10
12
  {{{ if (template.popular || template.top) }}}
11
13
  <!-- IMPORT partials/topic-terms.tpl -->
12
14
  {{{ end }}}
@@ -52,7 +54,9 @@
52
54
  </div>
53
55
  {{{ end }}}
54
56
 
57
+ {{{ if topic_count }}}
55
58
  <!-- IMPORT partials/category/tools-dropdown-left.tpl -->
59
+ {{{ end }}}
56
60
 
57
61
  <a href="{{{ if (template.category || template.world) }}}{url}{{{ else }}}{config.relative_path}/{selectedFilter.url}{querystring}{{{ end }}}" class="btn btn-secondary fw-semibold position-absolute top-100 translate-middle-x start-50 mt-1 hide" style="--bs-btn-padding-y: .25rem; --bs-btn-padding-x: .5rem; --bs-btn-font-size: .75rem;" id="new-topics-alert">
58
62
  <i class="fa fa-fw fa-arrow-up"></i> [[recent:load-new-posts]]