mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-29 19:48:59 +02:00
closes #4512
This commit is contained in:
@@ -261,6 +261,7 @@ topicsController.get = function(req, res, callback) {
|
||||
data['reputation:disabled'] = parseInt(meta.config['reputation:disabled'], 10) === 1;
|
||||
data['downvote:disabled'] = parseInt(meta.config['downvote:disabled'], 10) === 1;
|
||||
data['feeds:disableRSS'] = parseInt(meta.config['feeds:disableRSS'], 10) === 1;
|
||||
data.bookmarkThreshold = parseInt(meta.config.bookmarkThreshold, 10) || 5;
|
||||
data.scrollToMyPost = settings.scrollToMyPost;
|
||||
data.rssFeedUrl = nconf.get('relative_path') + '/topic/' + data.tid + '.rss';
|
||||
data.pagination = pagination.create(currentPage, pageCount);
|
||||
|
||||
@@ -100,6 +100,10 @@
|
||||
<label for="unreadCutoff">Unread cutoff days</label>
|
||||
<input id="unreadCutoff" type="text" class="form-control" value="2" data-field="unreadCutoff">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="bookmarkthreshold">Minimum posts in topic before tracking last read</label>
|
||||
<input id="bookmarkthreshold" type="text" class="form-control" value="5" data-field="bookmarkThreshold">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user