FEATURE: Trust level 3 promotion and demotion. Job is disabled for now.
This commit is contained in:
@@ -13,11 +13,13 @@ Discourse.LeaderRequirements = Discourse.Model.extend({
|
||||
topics_replied_to: this.get('num_topics_replied_to') >= this.get('min_topics_replied_to'),
|
||||
topics_viewed: this.get('topics_viewed') >= this.get('min_topics_viewed'),
|
||||
posts_read: this.get('posts_read') >= this.get('min_posts_read'),
|
||||
flagged_posts: this.get('num_flagged_posts') < this.get('max_flagged_posts')
|
||||
flagged_posts: this.get('num_flagged_posts') <= this.get('max_flagged_posts'),
|
||||
flagged_by_users: this.get('num_flagged_by_users') <= this.get('max_flagged_by_users')
|
||||
};
|
||||
}.property('days_visited', 'min_days_visited',
|
||||
'num_topics_replied_to', 'min_topics_replied_to',
|
||||
'topics_viewed', 'min_topics_viewed',
|
||||
'posts_read', 'min_posts_read',
|
||||
'num_flagged_posts', 'max_flagged_posts')
|
||||
'num_flagged_posts', 'max_flagged_posts',
|
||||
'num_flagged_by_users', 'max_flagged_by_users')
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user