1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

storage adjustment

This commit is contained in:
Kyle Spearrin
2017-07-11 10:59:49 -04:00
parent ea4d772dda
commit 1dbf831bda
6 changed files with 141 additions and 0 deletions

View File

@@ -63,6 +63,23 @@
});
};
$scope.adjustStorage = function (add) {
var modal = $uibModal.open({
animation: true,
templateUrl: 'app/settings/views/settingsBillingAdjustStorage.html',
controller: 'organizationBillingAdjustStorageController',
resolve: {
add: function () {
return add;
}
}
});
modal.result.then(function () {
load();
});
};
$scope.cancel = function () {
if (!confirm('Are you sure you want to cancel? All users will lose access to the organization ' +
'at the end of this billing cycle.')) {