nodebb-theme-persona 13.0.50 → 13.0.51

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.50",
3
+ "version": "13.0.51",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
@@ -110,6 +110,30 @@
110
110
  </div>
111
111
  </div>
112
112
 
113
+ <hr/>
114
+
115
+ <h6 class="fw-bold">[[global:sort]]</h6>
116
+ <div class="">
117
+ <div class="mb-2">
118
+ <label class="form-label">[[user:category-topic-sort]]</label>
119
+ <select class="form-select" data-property="categoryTopicSort">
120
+ <option value="newest_to_oldest" {{{ if (settings.categoryTopicSort == "newest_to_oldest") }}}selected{{{ end }}}>[[topic:newest_to_oldest]]</option>
121
+ <option value="oldest_to_newest" {{{ if (settings.categoryTopicSort == "oldest_to_newest") }}}selected{{{ end }}}>[[topic:oldest_to_newest]]</option>
122
+ <option value="most_posts" {{{ if (settings.categoryTopicSort == "most_posts") }}}selected{{{ end }}}>[[topic:most_posts]]</option>
123
+ <option value="most_votes" {{{ if (settings.categoryTopicSort == "most_votes") }}}selected{{{ end }}}>[[topic:most_votes]]</option>
124
+ <option value="most_views" {{{ if (settings.categoryTopicSort == "most_views") }}}selected{{{ end }}}>[[topic:most_views]]</option>
125
+ </select>
126
+ </div>
127
+ <div class="">
128
+ <label class="form-label">[[user:topic-post-sort]]</label>
129
+ <select class="form-select" data-property="topicPostSort">
130
+ <option value="oldest_to_newest" {{{ if (settings.topicPostSort == "oldest_to_newest") }}}selected{{{ end }}}>[[topic:oldest_to_newest]]</option>
131
+ <option value="newest_to_oldest" {{{ if (settings.topicPostSort == "newest_to_oldest") }}}selected{{{ end }}}>[[topic:newest_to_oldest]]</option>
132
+ <option value="most_votes" {{{ if (settings.topicPostSort == "most_votes") }}}selected{{{ end }}}>[[topic:most_votes]]</option>
133
+ </select>
134
+ </div>
135
+ </div>
136
+
113
137
  <!-- IF !disableEmailSubscriptions -->
114
138
  <h4>[[global:email]]</h4>
115
139
  <div class="card card-body mb-3">