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 CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "nodebb-theme-persona",
3
- "version": "13.2.32",
3
+ "version": "13.2.34",
4
4
  "nbbpm": {
5
- "compatibility": "^3.3.0"
5
+ "compatibility": "^3.5.0"
6
6
  },
7
7
  "description": "Persona theme for NodeBB",
8
8
  "main": "library.js",
@@ -1,5 +1,5 @@
1
1
  <!-- IMPORT partials/account/header.tpl -->
2
- <h1>[[pages:account/blocks, {username}]]</h1>
2
+ <h1 class="fs-2">[[pages:account/blocks, {username}]]</h1>
3
3
  <div class="row justify-content-end mb-2">
4
4
  <div class="col-3">
5
5
  <div class="dropdown">
@@ -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">
@@ -2,7 +2,7 @@
2
2
 
3
3
  <div class="users row">
4
4
  <div class="col-12">
5
- <h1>[[pages:{template.name}, {username}]]</h1>
5
+ <h1 class="fs-2">[[pages:{template.name}, {username}]]</h1>
6
6
 
7
7
  <!-- IMPORT partials/users_list.tpl -->
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  <div class="users row">
4
4
  <div class="col-12">
5
- <h1>[[pages:{template.name}, {username}]]</h1>
5
+ <h1 class="fs-2">[[pages:{template.name}, {username}]]</h1>
6
6
 
7
7
  <!-- IMPORT partials/users_list.tpl -->
8
8
 
@@ -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">
@@ -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
 
6
6
  <!-- IF !posts.length -->
7
7
  <div class="alert alert-warning text-center">{noItemsFoundKey}</div>
@@ -0,0 +1,10 @@
1
+ <!-- IMPORT partials/account/header.tpl -->
2
+
3
+ <div class="row">
4
+ <h1 class="fs-2">{title}</h1>
5
+ <div class="col-lg-12">
6
+ <input component="tags/watch" type="text" class="form-control">
7
+ </div>
8
+ </div>
9
+
10
+ <!-- IMPORT partials/account/footer.tpl -->
@@ -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
  <!-- IF showSort -->
6
6
  <div class="btn-toolbar justify-content-end mb-2">
7
7
  <div class="btn-group bottom-sheet" component="thread/sort">
@@ -1,6 +1,6 @@
1
1
  <!-- IMPORT partials/account/header.tpl -->
2
2
  <div class="row">
3
- <h1>{title}</h1>
3
+ <h1 class="fs-2">{title}</h1>
4
4
 
5
5
  <!-- IF privateUploads -->
6
6
  <div class="alert alert-info text-center">[[uploads:private-uploads-info]]</div>
@@ -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
@@ -14,6 +14,7 @@
14
14
  {{{ end }}}
15
15
  </div>
16
16
  <div class="d-flex gap-1 align-items-stretch">
17
+ <!-- IMPORT partials/tags/watch.tpl -->
17
18
  <!-- IMPORT partials/category/filter-dropdown-right.tpl -->
18
19
  <!-- IMPORT partials/category/tools.tpl -->
19
20
  </div>