mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
bug 10790: cloudStack - Volume page - hide Storage from domain-admin as well.
This commit is contained in:
parent
5696543359
commit
0cce5c44c2
@ -433,7 +433,7 @@ function volumeJsonToDetailsTab(){
|
||||
$thisTab.find("#vm_name").text(getVmName(jsonObj.vmname, jsonObj.vmdisplayname) + " (" + fromdb(jsonObj.vmstate) + ")");
|
||||
setDateField(jsonObj.created, $thisTab.find("#created"));
|
||||
|
||||
if(isAdmin() || isDomainAdmin()) {
|
||||
if(isAdmin()) {
|
||||
$thisTab.find("#storage").text(fromdb(jsonObj.storage));
|
||||
$thisTab.find("#storage_container").show();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user