mirror of https://github.com/apache/cloudstack.git
primary storage page - show type as what it's returned from API.
This commit is contained in:
parent
c3c4d2f4c5
commit
fa893275a6
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in New Issue