Skip to content

Commit

Permalink
Revert "HAWKULAR-131 - Added support for notifications plus a couple …
Browse files Browse the repository at this point in the history
…of notifications"

This reverts commit 39902eb.
  • Loading branch information
mtho11 committed May 2, 2015
1 parent 1c23083 commit af90f35
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 20 deletions.
4 changes: 1 addition & 3 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"hawtio-core": "2.0.16",
"hawtio-template-cache": "2.0.2",
"hawtio-utilities": "2.0.21",
"hawtio-ui": "2.0.39",
"hawtio-oauth": "2.0.5",
"lodash": "3.2.0",
"moment": "2.9.0",
Expand All @@ -54,7 +53,6 @@
},
"resolutions": {
"patternfly": "1.1.3",
"angular": "1.3.15",
"lodash": "3.2.0"
"angular": "1.3.15"
}
}
2 changes: 1 addition & 1 deletion plugins/accounts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<meta charset="UTF8">

<link rel="stylesheet" href="libs/patternfly/dist/css/patternfly.css" />
<link rel="stylesheet" href="../../dist/hawkular-ui-components-accounts.css"/>

<!-- bower:css -->
<!-- endbower -->

<link rel="stylesheet" href="../../dist/hawkular-ui-components-accounts.css"/>
<!-- ES6/ES6 shim -->
<!--[if IE 8]>
<script src="libs/es5-dom-shim/__COMIPLE/a.ie8.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions plugins/accounts/plugins/accounts/less/hawkular-accounts.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,3 @@
body.inactivity-modal-open #main, body.inactivity-modal-open .navbar, body.inactivity-modal-open #idle {
filter: blur(5px);
}

body {
padding-top: 0;
}
10 changes: 1 addition & 9 deletions plugins/accounts/plugins/accounts/ts/organizations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ module HawkularAccounts {
},
() => {
$log.warn("List of organizations could NOT be retrieved.");
Core.notification('error', "List of organizations could NOT be retrieved.");
$scope.loading = false;
}
);
Expand All @@ -49,11 +48,6 @@ module HawkularAccounts {
() => {
$scope.$emit('OrganizationRemoved');
$scope.organizations.splice($scope.organizations.indexOf(organization), 1);
Core.notification('success', "Organization created");
},
(e) => {
var message = e.data.message ? e.data.message : "Sorry, the organization could not be removed.";
Core.notification('error', message);
}
);
};
Expand All @@ -75,12 +69,10 @@ module HawkularAccounts {
() => {
$scope.$emit('OrganizationCreated');
$location.path('/accounts/organizations');
Core.notification('success', "Organization created");
},
() => {
// error
$log.error("Organization could NOT be added.");
Core.notification('error', "Organization could NOT be added.");
$log.debug("Organization could NOT be added.");
}
);
$log.debug("Trying to persist the organization");
Expand Down
2 changes: 0 additions & 2 deletions plugins/accounts/plugins/accounts/ts/persona.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ module HawkularAccounts {
},
() => {
$log.warn("Failed in retrieving the current persona");
Core.notification('error', "Failed in retrieving your current persona.");
}
);
};
Expand All @@ -48,7 +47,6 @@ module HawkularAccounts {
},
() => {
$log.warn("List of personas could NOT be retrieved.");
Core.notification('error', "List of your available personas could NOT be retrieved.");
$scope.loading = false;
}
);
Expand Down
1 change: 0 additions & 1 deletion plugins/accounts/plugins/includes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@
/// limitations under the License.

/// <reference path="../../../libs/hawtio-utilities/defs.d.ts"/>
/// <reference path="../../../libs/hawtio-ui/defs.d.ts"/>
/// <reference path="../../../libs/hawtio-oauth/defs.d.ts"/>

0 comments on commit af90f35

Please sign in to comment.