nodebb-theme-harmony 1.2.76 → 1.2.78

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/README.md CHANGED
@@ -10,6 +10,9 @@ Issues are tracked in [the main project issue tracker](https://github.com/NodeBB
10
10
  ## Screenshots
11
11
 
12
12
  ### Categories
13
+
14
+ _The cards in the header are added by the recent cards plugin. https://github.com/NodeBB-Community/nodebb-plugin-recent-cards_
15
+
13
16
  <img height="450" src="screenshots/categories.png">
14
17
 
15
18
  ### Recent
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-harmony",
3
- "version": "1.2.76",
3
+ "version": "1.2.78",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.7.0"
6
6
  },
@@ -1,6 +1,7 @@
1
- {{{ if (brand:logo || config.showSiteTitle)}}}
1
+ {{{ if (brand:logo || (config.showSiteTitle || widgets.brand-header.length)) }}}
2
2
  <div class="container-lg px-md-4 brand-container">
3
3
  <div class="col-12 d-flex border-bottom pb-3 {{{ if config.theme.centerHeaderElements }}}justify-content-center{{{ end }}}">
4
+ {{{ if (brand:logo || config.showSiteTitle) }}}
4
5
  <div component="brand/wrapper" class="d-flex align-items-center gap-3 p-2 rounded-1 align-content-stretch ">
5
6
  {{{ if brand:logo }}}
6
7
  <a component="brand/anchor" href="{{{ if brand:logo:url }}}{brand:logo:url}{{{ else }}}{relative_path}/{{{ end }}}" title="[[global:header.brand-logo]]">
@@ -14,6 +15,7 @@
14
15
  </a>
15
16
  {{{ end }}}
16
17
  </div>
18
+ {{{ end }}}
17
19
  {{{ if widgets.brand-header.length }}}
18
20
  <div data-widget-area="brand-header" class="flex-fill gap-3 p-2 align-self-center">
19
21
  {{{each widgets.brand-header}}}
@@ -4,6 +4,7 @@
4
4
  <span class="menu-icon"><i class="fa fa-fw text-secondary fa-pencil"></i></span> [[topic:edit]]
5
5
  </a>
6
6
  </li>
7
+ {{{ if posts.display_delete_tools }}}
7
8
  <li {{{ if posts.deleted }}}hidden{{{ end }}}>
8
9
  <a class="dropdown-item rounded-1 d-flex align-items-center gap-2" component="post/delete" role="menuitem" href="#" class="{{{ if posts.deleted }}}hidden{{{ end }}}">
9
10
  <span class="menu-icon"><i class="fa fa-fw text-secondary fa-trash-o"></i></span> [[topic:delete]]
@@ -14,6 +15,7 @@
14
15
  <span class="menu-icon"><i class="fa fa-fw text-secondary fa-history"></i></span> [[topic:restore]]
15
16
  </a>
16
17
  </li>
18
+ {{{ end }}}
17
19
  {{{ if posts.display_purge_tools }}}
18
20
  <li {{{ if !posts.deleted }}}hidden{{{ end }}}>
19
21
  <a class="dropdown-item rounded-1 d-flex align-items-center gap-2" component="post/purge" role="menuitem" href="#" class="{{{ if !posts.deleted }}}hidden{{{ end }}}">
@@ -38,6 +40,14 @@
38
40
  </li>
39
41
  {{{ end }}}
40
42
 
43
+ {{{ if posts.display_manage_editors_tools }}}
44
+ <li>
45
+ <a class="dropdown-item rounded-1 d-flex align-items-center gap-2" component="post/manage-editors" role="menuitem" href="#">
46
+ <span class="menu-icon"><i class="fa fa-fw text-secondary fa-user-pen"></i></span> [[topic:manage-editors]]
47
+ </a>
48
+ </li>
49
+ {{{ end }}}
50
+
41
51
  {{{ if posts.ip }}}
42
52
  <li>
43
53
  <a class="dropdown-item rounded-1 d-flex align-items-center gap-2" component="post/copy-ip" role="menuitem" href="#" data-clipboard-text="{posts.ip}">