nodebb-theme-persona 13.0.37 → 13.0.38

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-persona",
3
- "version": "13.0.37",
3
+ "version": "13.0.38",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
@@ -15,7 +15,7 @@
15
15
  </div>
16
16
  <ul class="list-group mb-3">
17
17
  <!-- IF allowProfilePicture -->
18
- <a id="changePictureBtn" href="#" class="list-group-item">[[user:change_picture]]</a>
18
+ <a component="profile/change/picture" href="#" class="list-group-item">[[user:change_picture]]</a>
19
19
  <!-- ENDIF allowProfilePicture -->
20
20
  <!-- IF !username:disableEdit -->
21
21
  <a href="{config.relative_path}/user/{userslug}/edit/username" class="list-group-item">[[user:change_username]]</a>
@@ -1,5 +1,5 @@
1
1
  <!-- IF config.loggedIn -->
2
- <div class="btn-group topic-watch-dropdown bottom-sheet" component="topic/watch">
2
+ <div class="btn-group bottom-sheet" component="topic/watch">
3
3
 
4
4
  <button class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" type="button">
5
5
  <span component="category/watching/menu" <!-- IF !../isWatched -->class="hidden"<!-- ENDIF !../isWatched -->><i class="fa fa-fw fa-inbox"></i><span class="visible-sm-inline visible-md-inline visible-lg-inline"> [[category:watching]]</span></span>
@@ -11,11 +11,35 @@
11
11
  </button>
12
12
 
13
13
  <ul class="dropdown-menu dropdown-menu-end">
14
- <li><a class="dropdown-item" href="#" component="category/watching" data-state="watching"><i component="category/watching/check" class="fa fa-fw <!-- IF ../isWatched -->fa-check<!-- ENDIF ../isWatched -->"></i><i class="fa fa-fw fa-inbox"></i> [[category:watching]]<p class="help-text"><small>[[category:watching.description]]</small></p></a></li>
14
+ <li>
15
+ <a class="dropdown-item d-flex" href="#" component="category/watching" data-state="watching">
16
+ <span><i component="category/watching/check" class="fa fa-fw {{{ if ./isWatched }}}fa-check{{{ end }}}"></i></span>
17
+ <div class="d-flex flex-column">
18
+ <span><i class="fa fa-fw fa-inbox"></i> [[category:watching]]</span>
19
+ <p class="help-text text-muted"><small>[[category:watching.description]]</small></p>
20
+ </div>
21
+ </a>
22
+ </li>
15
23
 
16
- <li><a class="dropdown-item" href="#" component="category/notwatching" data-state="notwatching"><i component="category/notwatching/check" class="fa fa-fw <!-- IF ../isNotWatched -->fa-check<!-- ENDIF ../isNotWatched -->"></i><i class="fa fa-fw fa-clock-o"></i> [[category:not-watching]]<p class="help-text"><small>[[category:not-watching.description]]</small></p></a></li>
24
+ <li>
25
+ <a class="dropdown-item d-flex" href="#" component="category/notwatching" data-state="notwatching">
26
+ <span><i component="category/notwatching/check" class="fa fa-fw {{{ if ./isNotWatched }}}fa-check{{{ end }}}"></i></span>
27
+ <div class="d-flex flex-column">
28
+ <span><i class="fa fa-fw fa-clock-o"></i> [[category:not-watching]]</span>
29
+ <p class="help-text text-muted"><small>[[category:not-watching.description]]</small></p>
30
+ </div>
31
+ </a>
32
+ </li>
17
33
 
18
- <li><a class="dropdown-item" href="#" component="category/ignoring" data-state="ignoring"><i component="category/ignoring/check" class="fa fa-fw <!-- IF ../isIgnored -->fa-check<!-- ENDIF ../isIgnored -->"></i><i class="fa fa-fw fa-eye-slash"></i> [[category:ignoring]]<p class="help-text"><small>[[category:ignoring.description]]</small></p></a></li>
34
+ <li>
35
+ <a class="dropdown-item d-flex" href="#" component="category/ignoring" data-state="ignoring">
36
+ <span><i component="category/ignoring/check" class="fa fa-fw {{{ if ./isIgnored }}}fa-check{{{ end }}}"></i></span>
37
+ <div class="d-flex flex-column">
38
+ <span><i class="fa fa-fw fa-eye-slash"></i> [[category:ignoring]]</span>
39
+ <p class="help-text text-muted"><small>[[category:ignoring.description]]</small></p>
40
+ </div>
41
+ </a>
42
+ </li>
19
43
  </ul>
20
44
  </div>
21
45
  <!-- ENDIF config.loggedIn -->
@@ -1,5 +1,5 @@
1
1
  <!-- IF config.loggedIn -->
2
- <div class="btn-group topic-watch-dropdown bottom-sheet" component="topic/watch"
2
+ <div class="btn-group bottom-sheet" component="topic/watch"
3
3
  data-bs-toggle="tooltip"
4
4
  {{{if isFollowing}}}title="[[topic:watching]]"{{{end}}}
5
5
  {{{if isNotFollowing}}}title="[[topic:not-watching]]"{{{end}}}
@@ -14,9 +14,35 @@ data-bs-toggle="tooltip"
14
14
 
15
15
  </button>
16
16
  <ul class="dropdown-menu dropdown-menu-end">
17
- <li><a class="dropdown-item" href="#" component="topic/following"><i component="topic/following/check" class="fa fa-fw <!-- IF isFollowing -->fa-check<!-- ENDIF isFollowing -->"></i><i class="fa fa-fw fa-bell-o"></i> [[topic:watching]]<p class="help-text hidden-xs"><small>[[topic:watching.description]]</small></p></a></li>
18
- <li><a class="dropdown-item" href="#" component="topic/not-following"><i component="topic/not-following/check" class="fa fa-fw <!-- IF isNotFollowing -->fa-check<!-- ENDIF isNotFollowing -->"></i><i class="fa fa-fw fa-bell-slash-o"></i> [[topic:not-watching]]<p class="help-text hidden-xs"><small>[[topic:not-watching.description]]</small></p></a></li>
19
- <li><a class="dropdown-item" href="#" component="topic/ignoring"><i component="topic/ignoring/check" class="fa fa-fw <!-- IF isIgnoring -->fa-check<!-- ENDIF isIgnoring -->"></i><i class="fa fa-fw fa-eye-slash"></i> [[topic:ignoring]]<p class="help-text hidden-xs"><small>[[topic:ignoring.description]]</small></p></a></li>
17
+ <li>
18
+ <a class="dropdown-item d-flex" href="#" component="topic/following">
19
+ <span><i component="topic/following/check" class="fa fa-fw {{{ if isFollowing }}}fa-check{{{ end }}}"></i></span>
20
+ <div class="d-flex flex-column">
21
+ <span><i class="fa fa-fw fa-bell-o"></i> [[topic:watching]]</span>
22
+ <p class="help-text text-muted"><small>[[topic:watching.description]]</small></p>
23
+ </div>
24
+ </a>
25
+ </li>
26
+
27
+ <li>
28
+ <a class="dropdown-item d-flex" href="#" component="topic/not-following">
29
+ <span><i component="topic/not-following/check" class="fa fa-fw {{{ if isNotFollowing }}}fa-check{{{ end }}}"></i></span>
30
+ <div class="d-flex flex-column">
31
+ <span><i class="fa fa-fw fa-bell-slash-o"></i> [[topic:not-watching]]</span>
32
+ <p class="help-text text-muted"><small>[[topic:not-watching.description]]</small></p>
33
+ </div>
34
+ </a>
35
+ </li>
36
+
37
+ <li>
38
+ <a class="dropdown-item d-flex" href="#" component="topic/ignoring">
39
+ <span><i component="topic/ignoring/check" class="fa fa-fw {{{ if isIgnoring }}}fa-check{{{ end }}}"></i></span>
40
+ <div class="d-flex flex-column">
41
+ <span><i class="fa fa-fw fa-eye-slash"></i> [[topic:ignoring]]</span>
42
+ <p class="help-text text-muted"><small>[[topic:ignoring.description]]</small></p>
43
+ </div>
44
+ </a>
45
+ </li>
20
46
  </ul>
21
47
  </div>
22
48
  <!-- ENDIF config.loggedIn -->