nodebb-theme-harmony 1.1.93 → 1.1.95
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
|
@@ -13,12 +13,20 @@
|
|
|
13
13
|
<ul class="dropdown-menu p-1 text-sm dropdown-menu-end">
|
|
14
14
|
<li><a class="dropdown-item rounded-1 d-flex flex-column p-2" href="#" component="category/watching" data-state="watching">
|
|
15
15
|
<div class="d-flex align-items-center gap-2">
|
|
16
|
-
<i class="flex-shrink-0 fa fa-fw fa-
|
|
16
|
+
<i class="flex-shrink-0 fa fa-fw fa-bell-o"></i>
|
|
17
17
|
<span class="flex-grow-1 fw-semibold">[[category:watching]]</span>
|
|
18
18
|
</div>
|
|
19
19
|
<div class="help-text text-muted text-xs">[[category:watching.description]]</div>
|
|
20
20
|
</a>
|
|
21
21
|
</li>
|
|
22
|
+
<li><a class="dropdown-item rounded-1 d-flex flex-column p-2" href="#" component="category/tracking" data-state="tracking">
|
|
23
|
+
<div class="d-flex align-items-center gap-2">
|
|
24
|
+
<i class="flex-shrink-0 fa fa-fw fa-inbox"></i>
|
|
25
|
+
<span class="flex-grow-1 fw-semibold">[[category:tracking]]</span>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="help-text text-muted text-xs">[[category:tracking.description]]</div>
|
|
28
|
+
</a>
|
|
29
|
+
</li>
|
|
22
30
|
<li><a class="dropdown-item rounded-1 d-flex flex-column p-2" href="#" component="category/notwatching" data-state="notwatching">
|
|
23
31
|
<div class="d-flex align-items-center gap-2">
|
|
24
32
|
<i class="flex-shrink-0 fa fa-fw fa-clock-o"></i>
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
<div class="mb-2">
|
|
191
191
|
<label class="form-label">[[user:default-category-watch-state]]</label>
|
|
192
192
|
<select class="form-select form-select-sm" data-property="categoryWatchState">
|
|
193
|
-
<option value="
|
|
193
|
+
<option value="tracking" {{{ if categoryWatchState.tracking }}}selected{{{ end }}}>[[category:tracking]]</option>
|
|
194
194
|
<option value="notwatching" {{{ if categoryWatchState.notwatching }}}selected{{{ end }}}>[[category:not-watching]]</option>
|
|
195
195
|
<option value="ignoring" {{{ if categoryWatchState.ignoring }}}selected{{{ end }}}>[[category:ignoring]]</option>
|
|
196
196
|
</select>
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
{{{ if config.loggedIn }}}
|
|
2
2
|
<div class="btn-group bottom-sheet" component="topic/watch">
|
|
3
3
|
<button class="btn-ghost-sm d-flex gap-2 dropdown-toggle" data-bs-toggle="dropdown" type="button">
|
|
4
|
-
<span component="category/watching/menu" {{{ if !./isWatched }}}class="hidden"{{{ end }}}><i class="fa fa-fw fa-
|
|
4
|
+
<span component="category/watching/menu" {{{ if !./isWatched }}}class="hidden"{{{ end }}}><i class="fa fa-fw fa-bell-o text-primary"></i><span class="visible-md-inline visible-lg-inline fw-semibold"> [[category:watching]]</span></span>
|
|
5
|
+
|
|
6
|
+
<span component="category/tracking/menu" {{{ if !./isTracked }}}class="hidden"{{{ end }}}><i class="fa fa-fw fa-inbox text-primary"></i><span class="visible-md-inline visible-lg-inline fw-semibold"> [[category:tracking]]</span></span>
|
|
5
7
|
|
|
6
8
|
<span component="category/notwatching/menu" {{{ if !./isNotWatched }}}class="hidden"{{{ end }}}><i class="fa fa-fw fa-clock-o text-primary"></i><span class="visible-md-inline visible-lg-inline fw-semibold"> [[category:not-watching]]</span></span>
|
|
7
9
|
|
|
@@ -13,7 +15,7 @@
|
|
|
13
15
|
<a class="dropdown-item rounded-1 d-flex align-items-center gap-2 p-2" href="#" component="category/watching" data-state="watching">
|
|
14
16
|
<div class="flex-grow-1 d-flex flex-column">
|
|
15
17
|
<span class="d-flex align-items-center gap-2">
|
|
16
|
-
<i class="flex-shrink-0 fa fa-fw text-muted fa-
|
|
18
|
+
<i class="flex-shrink-0 fa fa-fw text-muted fa-bell-o"></i>
|
|
17
19
|
<span class="flex-grow-1 fw-semibold">[[category:watching]]</span>
|
|
18
20
|
</span>
|
|
19
21
|
<div class="help-text text-muted text-xs">[[category:watching.description]]</div>
|
|
@@ -22,6 +24,19 @@
|
|
|
22
24
|
</a>
|
|
23
25
|
</li>
|
|
24
26
|
|
|
27
|
+
<li>
|
|
28
|
+
<a class="dropdown-item rounded-1 d-flex align-items-center gap-2 p-2" href="#" component="category/tracking" data-state="tracking">
|
|
29
|
+
<div class="flex-grow-1 d-flex flex-column">
|
|
30
|
+
<span class="d-flex align-items-center gap-2">
|
|
31
|
+
<i class="flex-shrink-0 fa fa-fw text-muted fa-inbox"></i>
|
|
32
|
+
<span class="flex-grow-1 fw-semibold">[[category:tracking]]</span>
|
|
33
|
+
</span>
|
|
34
|
+
<div class="help-text text-muted text-xs">[[category:tracking.description]]</div>
|
|
35
|
+
</div>
|
|
36
|
+
<span class="flex-shrink-0"><i component="category/tracking/check" class="fa fa-fw {{{ if ./isTracked }}}fa-check{{{ end }}}"></i></span>
|
|
37
|
+
</a>
|
|
38
|
+
</li>
|
|
39
|
+
|
|
25
40
|
<li>
|
|
26
41
|
<a class="dropdown-item rounded-1 d-flex align-items-center gap-2 p-2" href="#" component="category/notwatching" data-state="notwatching">
|
|
27
42
|
<div class="flex-grow-1 d-flex flex-column">
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
<span component="topic/post-count" class="fw-normal">{humanReadableNumber(./postcount, 0)}</span>
|
|
63
63
|
</span>
|
|
64
64
|
|
|
65
|
-
<a href="{config.relative_path}/topic/{./slug}/{./
|
|
65
|
+
<a href="{config.relative_path}/topic/{./slug}{{{ if (./teaser.timestampISO && !config.theme.mobileTopicTeasers) }}}/{./teaser.index}{{{ end }}}" class="border badge bg-transparent text-muted fw-normal timeago" title="{{{ if (./teaser.timestampISO && !config.theme.mobileTopicTeasers) }}}{./teaser.timestampISO}{{{ else }}}{./timestampISO}{{{ end }}}"></a>
|
|
66
66
|
</div>
|
|
67
67
|
|
|
68
|
-
<a href="{config.relative_path}/topic/{./slug}
|
|
68
|
+
<a href="{config.relative_path}/topic/{./slug}" class="d-none d-lg-block badge bg-transparent text-muted fw-normal timeago" title="{./timestampISO}"></a>
|
|
69
69
|
</span>
|
|
70
70
|
{{{ if showSelect }}}
|
|
71
71
|
<div class="checkbox position-absolute top-0 end-0 m-0 d-flex d-lg-none" style="max-width:max-content">
|