mirror of https://github.com/apache/cloudstack.git
bug 6158: Primary storage will now show ISCSI Share for iscsi primary storage and NFS Share for nfs primary storage.
status 6158: resolved fixed
This commit is contained in:
parent
2b9d85e075
commit
c2cfc811b4
|
|
@ -59,8 +59,10 @@ function primarystorageJsonToDetailsTab($midmenuItem1) {
|
|||
|
||||
$detailsTab.find("#zonename").text(fromdb(jsonObj.zonename));
|
||||
$detailsTab.find("#podname").text(fromdb(jsonObj.podname));
|
||||
$detailsTab.find("#clustername").text(fromdb(jsonObj.clustername));
|
||||
$detailsTab.find("#type").text(fromdb(jsonObj.type));
|
||||
$detailsTab.find("#clustername").text(fromdb(jsonObj.clustername));
|
||||
var storageType = "ISCSI Share";
|
||||
if (jsonObj.type == 'NetworkFilesystem') storageType = "NFS Share";
|
||||
$detailsTab.find("#type").text(storageType);
|
||||
$detailsTab.find("#ipaddress").text(fromdb(jsonObj.ipaddress));
|
||||
$detailsTab.find("#path").text(fromdb(jsonObj.path));
|
||||
$detailsTab.find("#disksizetotal").text(convertBytes(jsonObj.disksizetotal));
|
||||
|
|
|
|||
Loading…
Reference in New Issue