From fa893275a64b55e74ec024007eb8efded3615584 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Mon, 31 Jan 2011 16:39:14 -0800 Subject: [PATCH] primary storage page - show type as what it's returned from API. --- ui/scripts/cloud.core.primarystorage.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/scripts/cloud.core.primarystorage.js b/ui/scripts/cloud.core.primarystorage.js index 8acd8c9b693..6bfb4e75e48 100644 --- a/ui/scripts/cloud.core.primarystorage.js +++ b/ui/scripts/cloud.core.primarystorage.js @@ -112,10 +112,15 @@ function primarystorageJsonToDetailsTab() { $thisTab.find("#zonename").text(fromdb(jsonObj.zonename)); $thisTab.find("#podname").text(fromdb(jsonObj.podname)); $thisTab.find("#clustername").text(fromdb(jsonObj.clustername)); + + /* var storageType = "ISCSI Share"; if (jsonObj.type == 'NetworkFilesystem') storageType = "NFS Share"; $thisTab.find("#type").text(fromdb(storageType)); + */ + $thisTab.find("#type").text(fromdb(jsonObj.type)); + $thisTab.find("#ipaddress").text(fromdb(jsonObj.ipaddress)); $thisTab.find("#path").text(fromdb(jsonObj.path)); $thisTab.find("#disksizetotal").text(convertBytes(jsonObj.disksizetotal));