mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
M #~: Fix roles table in flow service (#4718)
This commit is contained in:
parent
a0e19c3fee
commit
48c3ee1f23
@ -236,11 +236,12 @@ define(function(require) {
|
||||
if (that.cache && that.cache.data && Array.isArray(that.cache.data)) {
|
||||
$.each(that.cache.data, function(_, data){
|
||||
if (data.VM && data.VM.ID === id) {
|
||||
if (that.element.TEMPLATE.BODY.ready_status_gate) {
|
||||
(vm_info.VM.USER_TEMPLATE.READY == "YES")
|
||||
? info.push('<span class="has-tip" title="'+Locale.tr("The VM is ready")+'"><i class="fas fa-check"/></span>')
|
||||
: info.push('<span class="has-tip" title="'+Locale.tr("Waiting for the VM to be ready")+'"><i class="fas fa-clock-o"/></span>')
|
||||
}
|
||||
(that.element.TEMPLATE.BODY.ready_status_gate &&
|
||||
vm_info.VM.USER_TEMPLATE &&
|
||||
vm_info.VM.USER_TEMPLATE.READY &&
|
||||
vm_info.VM.USER_TEMPLATE.READY == "YES")
|
||||
? info.push('<span class="has-tip" title="'+Locale.tr("The VM is ready")+'"><i class="fas fa-check"/></span>')
|
||||
: info.push('<span class="has-tip" title="'+Locale.tr("Waiting for the VM to be ready")+'"><i class="fas fa-clock-o"/></span>');
|
||||
|
||||
ips = OpenNebulaVM.ipsStr(data.VM);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user