mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
972831c733
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
9 lines
287 B
JavaScript
9 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;
|