nodebb-theme-harmony 1.0.0-beta.78 → 1.0.0-beta.79

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-harmony",
3
- "version": "1.0.0-beta.78",
3
+ "version": "1.0.0-beta.79",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
@@ -104,6 +104,30 @@
104
104
  </div>
105
105
  </div>
106
106
 
107
+ <hr/>
108
+
109
+ <h6 class="fw-bold">[[global:sort]]</h6>
110
+ <div class="">
111
+ <div class="mb-2">
112
+ <label class="form-label">[[user:category-topic-sort]]</label>
113
+ <select class="form-select form-select-sm" data-property="categoryTopicSort">
114
+ <option value="newest_to_oldest" {{{ if (settings.categoryTopicSort == "newest_to_oldest") }}}selected{{{ end }}}>[[topic:newest_to_oldest]]</option>
115
+ <option value="oldest_to_newest" {{{ if (settings.categoryTopicSort == "oldest_to_newest") }}}selected{{{ end }}}>[[topic:oldest_to_newest]]</option>
116
+ <option value="most_posts" {{{ if (settings.categoryTopicSort == "most_posts") }}}selected{{{ end }}}>[[topic:most_posts]]</option>
117
+ <option value="most_votes" {{{ if (settings.categoryTopicSort == "most_votes") }}}selected{{{ end }}}>[[topic:most_votes]]</option>
118
+ <option value="most_views" {{{ if (settings.categoryTopicSort == "most_views") }}}selected{{{ end }}}>[[topic:most_views]]</option>
119
+ </select>
120
+ </div>
121
+ <div class="">
122
+ <label class="form-label">[[user:topic-post-sort]]</label>
123
+ <select class="form-select form-select-sm" data-property="topicPostSort">
124
+ <option value="oldest_to_newest" {{{ if (settings.topicPostSort == "oldest_to_newest") }}}selected{{{ end }}}>[[topic:oldest_to_newest]]</option>
125
+ <option value="newest_to_oldest" {{{ if (settings.topicPostSort == "newest_to_oldest") }}}selected{{{ end }}}>[[topic:newest_to_oldest]]</option>
126
+ <option value="most_votes" {{{ if (settings.topicPostSort == "most_votes") }}}selected{{{ end }}}>[[topic:most_votes]]</option>
127
+ </select>
128
+ </div>
129
+ </div>
130
+
107
131
  {{{ if !disableEmailSubscriptions }}}
108
132
  <hr/>
109
133
  <h6 class="fw-bold">[[global:email]]</h6>
package/scss/search.scss DELETED
File without changes