aboutsummaryrefslogtreecommitdiffstats
path: root/ui/imports/ui/components/dashboard/dashboard.js
diff options
context:
space:
mode:
authorKoren Lev <korenlev@gmail.com>2017-09-06 19:47:54 +0300
committerKoren Lev <korenlev@gmail.com>2017-09-06 19:47:54 +0300
commitfc2702ba260b7a8705ee9f2d1f606af8dfa768da (patch)
tree1a9be5648c0148a0624de550351b5dfe75b6c5d4 /ui/imports/ui/components/dashboard/dashboard.js
parent7e0fce9122cc61aef397c7a4e2780fb018404513 (diff)
ui updates
Change-Id: I2d3f87e34a74ce21bbb9e3df989b6527337b7228 Signed-off-by: Koren Lev <korenlev@gmail.com>
Diffstat (limited to 'ui/imports/ui/components/dashboard/dashboard.js')
-rw-r--r--ui/imports/ui/components/dashboard/dashboard.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/ui/imports/ui/components/dashboard/dashboard.js b/ui/imports/ui/components/dashboard/dashboard.js
index 85cede8..6fdc184 100644
--- a/ui/imports/ui/components/dashboard/dashboard.js
+++ b/ui/imports/ui/components/dashboard/dashboard.js
@@ -13,8 +13,8 @@
//import * as R from 'ramda';
import * as _ from 'lodash';
import { Environments } from '/imports/api/environments/environments';
-import { //Messages,
- calcIconForMessageLevel, lastMessageTimestamp, calcColorClassForMessagesInfoBox
+import { //Messages,
+ calcIconForMessageLevel, lastMessageTimestamp, calcColorClassForMessagesInfoBox
} from '/imports/api/messages/messages';
import { Template } from 'meteor/templating';
import { Inventory } from '/imports/api/inventories/inventories';
@@ -27,7 +27,7 @@ import { setMainAppSelectedEnvironment } from '/imports/ui/actions/main-app.acti
import '/imports/ui/components/messages-info-box/messages-info-box';
import '/imports/ui/components/environment-box/environment-box';
-import './dashboard.html';
+import './dashboard.html';
/*
* Lifecycle methods
@@ -212,10 +212,10 @@ Template.Dashboard.helpers({
icon: calcIconForMessageLevel(boxDef.level),
colorClass: calcColorClassForMessagesInfoBox(boxDef.level),
onMoreDetailsReq: function () {
- $('#messagesModalGlobal').modal('show', {
+ $('#messagesModalGlobal').modal('show', {
dataset: {
messageLevel: boxDef.level,
- }
+ }
});
}
};
@@ -223,10 +223,10 @@ Template.Dashboard.helpers({
argsEnvBox: function (
environmentName,
- regionsCount,
- regions,
- projectsCount,
- projects,
+ regionsCount,
+ regions,
+ projectsCount,
+ projects,
instancesCount,
vservicesCount,
vconnectorsCount,