mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
M #~: Fix quotas widget in cloud & user views (#137)
(cherry picked from commit bea87272752b12e9a50c33f21f7d3c6f8a80f3bb)
This commit is contained in:
parent
14d0f26bea
commit
72dc61013d
@ -152,9 +152,9 @@ define(function(require) {
|
||||
var default_user_quotas = QuotaDefaults.default_quotas(user.DEFAULT_USER_QUOTAS);
|
||||
|
||||
var vms = QuotaWidgets.quotaInfo(
|
||||
user.VM_QUOTA.VM.VMS_USED,
|
||||
user.VM_QUOTA.VM.VMS,
|
||||
default_user_quotas.VM_QUOTA.VM.VMS);
|
||||
user.VM_QUOTA.VM.RUNNING_VMS_USED,
|
||||
user.VM_QUOTA.VM.VMS,
|
||||
default_user_quotas.VM_QUOTA.VM.VMS);
|
||||
|
||||
$("#"+TAB_ID+" #provision_dashboard_rvms_percentage").html(vms["percentage"]);
|
||||
$("#"+TAB_ID+" #provision_dashboard_rvms_str").html(vms["str"]);
|
||||
|
@ -460,9 +460,9 @@ define(function(require) {
|
||||
default_user_quotas.VM_QUOTA.VM.RUNNING_VMS
|
||||
){
|
||||
var vms = QuotaWidgets.quotaInfo(
|
||||
user.VM_QUOTA.VM.VMS_USED,
|
||||
user.VM_QUOTA.VM.RUNNING_VMS,
|
||||
default_user_quotas.VM_QUOTA.VM.RUNNING_VMS);
|
||||
user.VM_QUOTA.VM.RUNNING_VMS_USED,
|
||||
user.VM_QUOTA.VM.RUNNING_VMS,
|
||||
default_user_quotas.VM_QUOTA.VM.RUNNING_VMS);
|
||||
$("#provision_dashboard_rvms_percentage").html(vms["percentage"]);
|
||||
$("#provision_dashboard_rvms_str").html(vms["str"]);
|
||||
$("#provision_dashboard_rvms_meter").val(vms["percentage"]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user