1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

B #5691: Fix services role display (#1699)

This commit is contained in:
Frederick Borges 2022-01-13 18:52:12 +01:00 committed by GitHub
parent e46157bb22
commit 7703c5b222
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,8 +226,8 @@ define(function(require) {
if (data && data.ID === id) {
var ready = "";
var check = "<span class=\"has-tip\" title=\""+Locale.tr("The VM is ready")+"\"><i class=\"fas fa-check\"/></span>";
if (ready_status_gate && data.VM.USER_TEMPLATE && data.VM.USER_TEMPLATE.READY){
ready = (data.VM.USER_TEMPLATE.READY.trim().toUpperCase() === "YES")
if (ready_status_gate && data.USER_TEMPLATE && data.USER_TEMPLATE.READY){
ready = (data.USER_TEMPLATE.READY.trim().toUpperCase() === "YES")
? check
: "<span class=\"has-tip\" title=\""+
Locale.tr("Waiting for the VM to be ready")+"\"><i class=\"fas fa-clock\"/></span>";