nodebb-theme-persona 13.2.32 → 13.2.33
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
|
@@ -82,6 +82,10 @@
|
|
|
82
82
|
|
|
83
83
|
<!-- IF canEdit -->
|
|
84
84
|
<li><a class="dropdown-item d-flex justify-content-between align-items-center" href="{config.relative_path}/user/{userslug}/categories">[[user:watched_categories]] <span class="badge bg-secondary rounded-pill ms-2" title="{counts.categoriesWatched}">{formattedNumber(counts.categoriesWatched)}</span></a></li>
|
|
85
|
+
{{{ if isSelf }}}
|
|
86
|
+
<li><a class="dropdown-item d-flex justify-content-between align-items-center" href="{config.relative_path}/user/{userslug}/tags">
|
|
87
|
+
[[user:watched-tags]] <span class="badge bg-secondary rounded-pill ms-2" title="{counts.tagsWatched}">{formattedNumber(counts.tagsWatched)}</span></a></li>
|
|
88
|
+
{{{ end }}}
|
|
85
89
|
<li><a class="dropdown-item d-flex justify-content-between align-items-center" href="{config.relative_path}/user/{userslug}/bookmarks">[[user:bookmarks]] <span class="badge bg-secondary rounded-pill ms-2" title="{counts.bookmarks}">{formattedNumber(counts.bookmarks)}</span></a></li>
|
|
86
90
|
<li><a class="dropdown-item d-flex justify-content-between align-items-center" href="{config.relative_path}/user/{userslug}/watched">[[user:watched]] <span class="badge bg-secondary rounded-pill ms-2" title="{counts.watched}">{formattedNumber(counts.watched)}</span></a></li>
|
|
87
91
|
<li><a class="dropdown-item d-flex justify-content-between align-items-center" href="{config.relative_path}/user/{userslug}/ignored">[[user:ignored]] <span class="badge bg-secondary rounded-pill ms-2" title="{counts.ignored}">{formattedNumber(counts.ignored)}</span></a></li>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{{{ if config.loggedIn }}}
|
|
2
|
+
<div class="btn-group bottom-sheet" component="tag/watch"
|
|
3
|
+
data-bs-toggle="tooltip">
|
|
4
|
+
<button class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" type="button">
|
|
5
|
+
<span component="tag/following/menu" {{{ if !isFollowing }}}class="hidden"{{{ end }}}>
|
|
6
|
+
<i class="fa fa-fw fa-bell-o"></i>
|
|
7
|
+
<span class="d-none d-md-inline">[[tags:watching]]</span>
|
|
8
|
+
</span>
|
|
9
|
+
<span component="tag/not-following/menu" {{{ if isFollowing }}}class="hidden"{{{ end }}}>
|
|
10
|
+
<i class="fa fa-fw fa-bell-slash-o"></i>
|
|
11
|
+
<span class="d-none d-md-inline">[[tags:not-watching]]</span>
|
|
12
|
+
</span>
|
|
13
|
+
</button>
|
|
14
|
+
<ul class="dropdown-menu dropdown-menu-end">
|
|
15
|
+
<li>
|
|
16
|
+
<a class="dropdown-item d-flex" href="#" component="tag/following">
|
|
17
|
+
<span><i component="tag/following/check" class="fa fa-fw {{{ if isFollowing }}}fa-check{{{ end }}}"></i></span>
|
|
18
|
+
<div class="d-flex flex-column">
|
|
19
|
+
<span><i class="fa fa-fw fa-bell-o"></i> [[tags:watching]]</span>
|
|
20
|
+
<p class="help-text text-muted"><small>[[tags:watching.description]]</small></p>
|
|
21
|
+
</div>
|
|
22
|
+
</a>
|
|
23
|
+
</li>
|
|
24
|
+
|
|
25
|
+
<li>
|
|
26
|
+
<a class="dropdown-item d-flex" href="#" component="tag/not-following">
|
|
27
|
+
<span><i component="tag/not-following/check" class="fa fa-fw {{{ if !isFollowing }}}fa-check{{{ end }}}"></i></span>
|
|
28
|
+
<div class="d-flex flex-column">
|
|
29
|
+
<span><i class="fa fa-fw fa-bell-slash-o"></i> [[tags:not-watching]]</span>
|
|
30
|
+
<p class="help-text text-muted"><small>[[tags:not-watching.description]]</small></p>
|
|
31
|
+
</div>
|
|
32
|
+
</a>
|
|
33
|
+
</li>
|
|
34
|
+
</ul>
|
|
35
|
+
</div>
|
|
36
|
+
{{{ end }}}
|
package/templates/tag.tpl
CHANGED