primary storage page - show type as what it's returned from API.

This commit is contained in:
Jessica Wang 2011-01-31 16:39:14 -08:00
parent c3c4d2f4c5
commit fa893275a6
1 changed files with 5 additions and 0 deletions

View File

@ -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));