mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
b2d4dd4f17
Closes #3079 - new controller and template for invite-new-user-modal - actually triggers email invite via POST /ghost/api/v0.1/users/ - setting default language value (on the client) when creating a user - only available role is "Author" - pending 3196 - updates to UsersIndexController to allow dynamic property calculation and template rending
10 lines
287 B
JavaScript
10 lines
287 B
JavaScript
var UsersIndexController = Ember.ArrayController.extend({
|
|
users: Ember.computed.alias('model'),
|
|
|
|
activeUsers: Ember.computed.filterBy('users', 'status', 'active'),
|
|
|
|
invitedUsers: Ember.computed.filterBy('users', 'status', 'invited')
|
|
});
|
|
|
|
export default UsersIndexController;
|