mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 23:31:21 +08:00
Link suspensions to the staff logs page
This commit is contained in:
@ -64,6 +64,12 @@ export default Ember.Controller.extend(CanCheckEmails, {
|
||||
anonymize() { return this.get('model').anonymize(); },
|
||||
destroy() { return this.get('model').destroy(); },
|
||||
|
||||
viewActionLogs() {
|
||||
this.get('adminTools').showActionLogs(this, {
|
||||
target_user: this.get('model.username'),
|
||||
});
|
||||
},
|
||||
|
||||
showFlagsReceived() {
|
||||
this.get('adminTools').showFlagsReceived(this.get('model'));
|
||||
},
|
||||
|
Reference in New Issue
Block a user