bug 5918: added domain to volume detail

This commit is contained in:
will 2010-11-18 18:27:39 -08:00
parent 6df0d87dc2
commit 2eaf10e293
2 changed files with 12 additions and 1 deletions

View File

@ -168,6 +168,16 @@
</div>
</div>
</div>
<div class="grid_rows even">
<div class="grid_row_cell" style="width: 20%;">
<div class="row_celltitles">
Domain:</div>
</div>
<div class="grid_row_cell" style="width: 79%;">
<div class="row_celltitles" id="domain">
</div>
</div>
</div>
</div>
</div>
</div>

View File

@ -329,7 +329,8 @@ function volumeJsonToDetailsTab(){
$thisTab.find("#device_id").text(fromdb(jsonObj.deviceid));
$thisTab.find("#state").text(fromdb(jsonObj.state));
$thisTab.find("#storage").text(fromdb(jsonObj.storage));
$thisTab.find("#account").text(fromdb(jsonObj.account));
$thisTab.find("#account").text(fromdb(jsonObj.account));
$thisTab.find("#domain").text(fromdb(jsonObj.domain));
$thisTab.find("#type").text(fromdb(jsonObj.type) + " (" + fromdb(jsonObj.storagetype) + " storage)");
$thisTab.find("#size").text((jsonObj.size == "0") ? "" : convertBytes(jsonObj.size));
if (jsonObj.virtualmachineid == null)