From b8b28568ae580e7d64b3bbb4fa82a24061ecbea9 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Mon, 14 Sep 2015 15:11:10 +0530 Subject: [PATCH] ui/scripts/system: work in progress zone metrics view button Signed-off-by: Rohit Yadav --- ui/scripts/system.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 7169a95632a..6363e3a7864 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -7705,7 +7705,21 @@ }); } } - } + }, + viewMetrics: { + label: 'label.view.metrics', + isHeader: true, + addRow: false, + action: { + custom: cloudStack.uiCustom.zoneWizard( + cloudStack.zoneWizard) + }, + messages: { + notification: function (args) { + return 'label.view.metrics'; + } + } + }, }, detailView: {