Add initial UI for transferring ownership
This commit is contained in:
@@ -53,6 +53,23 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio
|
||||
return (roleInt1 - roleInt2) >= 0;
|
||||
};
|
||||
|
||||
$scope.transferOwnership = {
|
||||
busy: false,
|
||||
error: null,
|
||||
userInfo: {},
|
||||
|
||||
show: function (userInfo) {
|
||||
$scope.transferOwnership.error = null;
|
||||
$scope.transferOwnership.userInfo = userInfo;
|
||||
|
||||
$('#transferOwnershipModal').modal('show');
|
||||
},
|
||||
|
||||
submit: function () {
|
||||
$scope.transferOwnership.busy = true;
|
||||
}
|
||||
};
|
||||
|
||||
$scope.userremove = {
|
||||
busy: false,
|
||||
error: null,
|
||||
|
||||
Reference in New Issue
Block a user