cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kous...@apache.org
Subject [24/50] [abbrv] git commit: refs/heads/cisco-vnmc-api-integration - CLOUDSTACK-1723:Fix for dashboard alerts
Date Thu, 21 Mar 2013 05:22:11 GMT
CLOUDSTACK-1723:Fix for dashboard alerts


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/c02ab3f4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/c02ab3f4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/c02ab3f4

Branch: refs/heads/cisco-vnmc-api-integration
Commit: c02ab3f4d7a502eadca76026bdeeec40f00ca8ee
Parents: 19a2905
Author: Anshul Gangwar <anshul.gangwar@citrix.com>
Authored: Tue Mar 19 16:08:11 2013 +0530
Committer: Pranav Saxena <pranav.saxena@citrix.com>
Committed: Tue Mar 19 16:08:11 2013 +0530

----------------------------------------------------------------------
 ui/scripts/sharedFunctions.js |   36 ++++++++++++++++++++++--------------
 1 files changed, 22 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/c02ab3f4/ui/scripts/sharedFunctions.js
----------------------------------------------------------------------
diff --git a/ui/scripts/sharedFunctions.js b/ui/scripts/sharedFunctions.js
index ad26b34..8bcdff9 100644
--- a/ui/scripts/sharedFunctions.js
+++ b/ui/scripts/sharedFunctions.js
@@ -400,20 +400,28 @@ cloudStack.converters = {
     case 4 : return _l('label.public.ips');
     case 5 : return _l('label.management.ips');
     case 6 : return _l('label.secondary.storage');
-    case 7 : return _l('label.vlan');
-    case 8 : return _l('label.direct.ips');
-    case 9 : return _l('label.local.storage');
-
-    // These are old values -- can be removed in the future 
-    case 10 : return "Routing Host";
-    case 11 : return "Storage";
-    case 12 : return "Usage Server";
-    case 13 : return "Management Server";
-    case 14 : return "Domain Router";
-    case 15 : return "Console Proxy";
-    case 16 : return "User VM";
-    case 17 : return "VLAN";
-    case 18 : return "Secondary Storage VM";
+    case 7 : return _l('label.host');
+    case 9 : return _l('label.domain.router');
+    case 10 : return _l('label.console.proxy');
+
+    // These are old values -- can be removed in the future
+    case 8 : return "User VM";
+    case 11 : return "Routing Host";
+    case 12 : return "Storage";
+    case 13 : return "Usage Server";
+    case 14 : return "Management Server";
+    case 15 : return "Domain Router";
+    case 16 : return "Console Proxy";
+    case 17 : return "User VM";
+    case 18 : return "VLAN";
+    case 19 : return "Secondary Storage VM";
+    case 20 : return "Usage Server";
+    case 21 : return "Storage";
+    case 22 : return "Update Resource Count";
+    case 23 : return "Usage Sanity Result";
+    case 24 : return "Direct Attached Public IP";
+    case 25 : return "Local Storage";
+    case 26 : return "Resource Limit Exceeded";
     }
   },
   convertByType: function(alertCode, value) {


Mime
View raw message