1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-06 10:33:57 +00:00

eventService and cipher event logs page

This commit is contained in:
Kyle Spearrin
2017-12-18 11:52:42 -05:00
parent 501c4fc263
commit 828149b2d6
9 changed files with 343 additions and 115 deletions

View File

@@ -141,6 +141,17 @@
});
};
$scope.viewEvents = function (cipher) {
$uibModal.open({
animation: true,
templateUrl: 'app/organization/views/organizationVaultCipherEvents.html',
controller: 'organizationVaultCipherEventsController',
resolve: {
cipher: function () { return cipher; }
}
});
};
$scope.attachments = function (cipher) {
authService.getUserProfile().then(function (profile) {
return !!profile.organizations[cipher.organizationId].maxStorageGb;