mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FEATURE: New 'Reviewable' model to make reviewable items generic
Includes support for flags, reviewable users and queued posts, with REST API backwards compatibility. Co-Authored-By: romanrizzi <romanalejandro@gmail.com> Co-Authored-By: jjaffeux <j.jaffeux@gmail.com>
This commit is contained in:
parent
9a56b398a1
commit
b58867b6e9
354 changed files with 8090 additions and 5225 deletions
|
@ -13,7 +13,6 @@ export default Ember.Controller.extend(CanCheckEmails, {
|
|||
availableGroups: null,
|
||||
userTitleValue: null,
|
||||
|
||||
showApproval: setting("must_approve_users"),
|
||||
showBadges: setting("enable_badges"),
|
||||
hasLockedTrustLevel: Ember.computed.notEmpty(
|
||||
"model.manual_locked_trust_level"
|
||||
|
@ -215,9 +214,6 @@ export default Ember.Controller.extend(CanCheckEmails, {
|
|||
target_user: this.get("model.username")
|
||||
});
|
||||
},
|
||||
showFlagsReceived() {
|
||||
this.get("adminTools").showFlagsReceived(this.get("model"));
|
||||
},
|
||||
showSuspendModal() {
|
||||
this.get("adminTools").showSuspendModal(this.get("model"));
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue