nodebb-theme-persona 13.2.32 → 13.2.34
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 +2 -2
- package/templates/account/blocks.tpl +1 -1
- package/templates/account/categories.tpl +1 -1
- package/templates/account/followers.tpl +1 -1
- package/templates/account/following.tpl +1 -1
- package/templates/account/groups.tpl +1 -1
- package/templates/account/posts.tpl +1 -1
- package/templates/account/tags.tpl +10 -0
- package/templates/account/topics.tpl +1 -1
- package/templates/account/uploads.tpl +1 -1
- package/templates/partials/account/menu.tpl +4 -0
- package/templates/partials/tags/watch.tpl +36 -0
- package/templates/tag.tpl +1 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- IMPORT partials/account/header.tpl -->
|
|
2
2
|
|
|
3
3
|
<div class="row">
|
|
4
|
-
<h1>{title}</h1>
|
|
4
|
+
<h1 class="fs-2">{title}</h1>
|
|
5
5
|
<div class="col-lg-12 mb-2">
|
|
6
6
|
<div class="btn-group bottom-sheet" component="category/watch/all">
|
|
7
7
|
<button class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" type="button">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- IMPORT partials/account/header.tpl -->
|
|
2
2
|
|
|
3
3
|
<div class="row">
|
|
4
|
-
<h1>[[pages:{template.name}, {username}]]</h1>
|
|
4
|
+
<h1 class="fs-2">[[pages:{template.name}, {username}]]</h1>
|
|
5
5
|
|
|
6
6
|
<div class="col-12 groups list">
|
|
7
7
|
<div component="groups/container" id="groups-list" class="row">
|
|
@@ -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