nodebb-theme-harmony 1.1.11 → 1.1.13

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.11",
3
+ "version": "1.1.13",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.3.0"
6
6
  },
@@ -54,7 +54,7 @@
54
54
  </div>
55
55
  </div>
56
56
  {{{ if !config.hideCategoryLastPost }}}
57
- <div component="topic/teaser" class="teaser col-lg-6 col-12{{{ if !config.theme.mobileTopicTeasers }}}d-none d-lg-block{{{ end }}}">
57
+ <div component="topic/teaser" class="teaser col-lg-6 col-12 {{{ if !config.theme.mobileTopicTeasers }}}d-none d-lg-block{{{ end }}}">
58
58
  <!-- IMPORT partials/categories/lastpost.tpl -->
59
59
  </div>
60
60
  {{{ end }}}
@@ -1,10 +1,41 @@
1
1
  <div class="d-flex gap-1 align-items-stretch">
2
- <div class="dropdown d-flex">
2
+
3
+ <div class="hidden dropdown d-flex" data-manual-tooltip="1" title="[[modules:chat.notification-settings]]">
4
+ <button class="btn-ghost-sm position-relative" data-bs-toggle="dropdown">
5
+ <i class="fa fa-bell text-muted"></i>
6
+ <span class="position-absolute top-0 end-0 text-xs" style="font-size: 10px!important; padding: 1px; line-height: 10px;">
7
+ <i component="chat/notification/setting/icon" class="fa {notificationOptionsIcon}"></i>
8
+ </span>
9
+ </button>
10
+ <ul class="dropdown-menu dropdown-menu-end p-1 text-sm" component="chat/notification/setting">
11
+ {{{ each notificationOptions }}}
12
+ <li>
13
+ <a class="dropdown-item rounded-1 d-flex align-items-center gap-2" href="#" data-value="{./value}" data-icon="{./icon}">
14
+ <div class="d-flex flex-column gap-1">
15
+ <div class="d-flex align-items-center gap-2">
16
+ <div class="flex-grow-1">{./label}</div>
17
+ <i class="flex-shrink-0 fa fa-fw fa-check {{{ if !./selected }}}hidden{{{ end }}}"></i>
18
+ </div>
19
+ {{{ if @first}}}
20
+ <div class="text-sm text-muted">{./subLabel}</div>
21
+ {{{ end }}}
22
+ </div>
23
+ </a>
24
+ </li>
25
+
26
+ {{{ if @first }}}
27
+ <li><hr class="dropdown-divider"></li>
28
+ {{{ end }}}
29
+ {{{ end }}}
30
+ </ul>
31
+ </div>
32
+
33
+
34
+ <div class="dropdown d-flex" data-manual-tooltip="1" title="[[modules:chat.options]]">
3
35
  <button class="btn-ghost-sm" data-bs-toggle="dropdown" component="chat/controlsToggle">
4
36
  <i class="fa fa-gear text-muted"></i>
5
37
  </button>
6
38
  <ul class="dropdown-menu dropdown-menu-end p-1 text-sm" component="chat/controls">
7
- <li class="dropdown-header">[[modules:chat.options]]</li>
8
39
  <li>
9
40
  <a class="dropdown-item rounded-1 d-flex align-items-center gap-2" href="#" data-action="members">
10
41
  <i class="fa fa-fw text-muted fa-cog"></i> [[modules:chat.manage-room]]
@@ -1,14 +1,14 @@
1
1
  <ul component="category" class="topics-list list-unstyled" itemscope itemtype="http://www.schema.org/ItemList" data-nextstart="{nextStart}" data-set="{set}">
2
2
 
3
3
  {{{ each topics }}}
4
- <li component="category/topic" class="category-item border-bottom py-3 py-lg-4 d-flex flex-column flex-lg-row gap-2 gap-lg-0 align-items-start {function.generateTopicClass}" <!-- IMPORT partials/data/category.tpl -->>
4
+ <li component="category/topic" class="category-item border-bottom py-3 py-lg-4 d-flex flex-column flex-lg-row align-items-start {function.generateTopicClass}" <!-- IMPORT partials/data/category.tpl -->>
5
5
  <link itemprop="url" content="{config.relative_path}/topic/{./slug}" />
6
6
  <meta itemprop="name" content="{function.stripTags, ./title}" />
7
7
  <meta itemprop="itemListOrder" content="descending" />
8
8
  <meta itemprop="position" content="{./index}" />
9
9
  <a id="{./index}" data-index="{./index}" component="topic/anchor"></a>
10
10
 
11
- <div class="d-flex p-0 col-12 col-lg-7 gap-2 gap-lg-3 pe-1 align-items-start">
11
+ <div class="d-flex p-0 col-12 col-lg-7 gap-2 gap-lg-3 pe-1 align-items-start {{{ if config.theme.mobileTopicTeasers }}}mb-2 mb-lg-0{{{ end }}}">
12
12
  <div class="flex-shrink-0 position-relative">
13
13
  <a class="text-decoration-none" href="{{{ if ./user.userslug }}}{config.relative_path}/user/{./user.userslug}{{{ else }}}#{{{ end }}}">
14
14
  {buildAvatar(./user, "40px", true, "avatar avatar-tooltip")}
@@ -94,7 +94,7 @@
94
94
  <i class="d-xl-none fa fa-fw text-xs text-muted opacity-75 fa-eye"></i>
95
95
  </div>
96
96
  </div>
97
- <div component="topic/teaser" class="meta teaser col-lg-6 col-12{{{ if !config.theme.mobileTopicTeasers }}}d-none d-lg-block{{{ end }}}">
97
+ <div component="topic/teaser" class="meta teaser col-lg-6 col-12 {{{ if !config.theme.mobileTopicTeasers }}}d-none d-lg-block{{{ end }}}">
98
98
  <div class="lastpost border-start border-2 lh-sm h-100 d-flex flex-column gap-1" style="border-color: {./category.bgColor}!important;">
99
99
  {{{ if ./unreplied }}}
100
100
  <div class="ps-2 text-xs">