nodebb-theme-harmony 1.2.36 → 1.2.37

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-harmony",
3
- "version": "1.2.36",
3
+ "version": "1.2.37",
4
4
  "nbbpm": {
5
- "compatibility": "^3.5.0"
5
+ "compatibility": "^3.7.0"
6
6
  },
7
7
  "description": "Harmony theme for NodeBB",
8
8
  "main": "library.js",
@@ -112,8 +112,8 @@
112
112
  <div class="mb-2">
113
113
  <label class="form-label text-sm" for="categoryTopicSort">[[user:category-topic-sort]]</label>
114
114
  <select class="form-select form-select-sm" id="categoryTopicSort" data-property="categoryTopicSort">
115
- <option value="newest_to_oldest" {{{ if (settings.categoryTopicSort == "newest_to_oldest") }}}selected{{{ end }}}>[[topic:newest-to-oldest]]</option>
116
- <option value="oldest_to_newest" {{{ if (settings.categoryTopicSort == "oldest_to_newest") }}}selected{{{ end }}}>[[topic:oldest-to-newest]]</option>
115
+ <option value="recently_replied" {{{ if (settings.categoryTopicSort == "recently_replied") }}}selected{{{ end }}}>[[topic:recently-replied]]</option>
116
+ <option value="recently_created" {{{ if (settings.categoryTopicSort == "recently_created") }}}selected{{{ end }}}>[[topic:recently-created]]</option>
117
117
  <option value="most_posts" {{{ if (settings.categoryTopicSort == "most_posts") }}}selected{{{ end }}}>[[topic:most-posts]]</option>
118
118
  <option value="most_votes" {{{ if (settings.categoryTopicSort == "most_votes") }}}selected{{{ end }}}>[[topic:most-votes]]</option>
119
119
  <option value="most_views" {{{ if (settings.categoryTopicSort == "most_views") }}}selected{{{ end }}}>[[topic:most-views]]</option>
@@ -6,14 +6,14 @@
6
6
 
7
7
  <ul class="dropdown-menu p-1 text-sm" role="menu">
8
8
  <li>
9
- <a class="dropdown-item rounded-1 d-flex align-items-center gap-2" href="#" data-sort="newest_to_oldest" role="menuitem">
10
- <span class="flex-grow-1">[[topic:newest-to-oldest]]</span>
9
+ <a class="dropdown-item rounded-1 d-flex align-items-center gap-2" href="#" data-sort="recently_replied" role="menuitem">
10
+ <span class="flex-grow-1">[[topic:recently-replied]]</span>
11
11
  <i class="flex-shrink-0 fa fa-fw text-secondary"></i>
12
12
  </a>
13
13
  </li>
14
14
  <li>
15
- <a class="dropdown-item rounded-1 d-flex align-items-center gap-2" href="#" data-sort="oldest_to_newest" role="menuitem">
16
- <span class="flex-grow-1">[[topic:oldest-to-newest]]</span>
15
+ <a class="dropdown-item rounded-1 d-flex align-items-center gap-2" href="#" data-sort="recently_created" role="menuitem">
16
+ <span class="flex-grow-1">[[topic:recently-created]]</span>
17
17
  <i class="flex-shrink-0 fa fa-fw text-secondary"></i>
18
18
  </a>
19
19
  </li>