1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-10 01:17:40 +03:00

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

(cherry picked from commit 7703c5b222)
This commit is contained in:
Frederick Borges 2022-01-13 18:52:12 +01:00 committed by Tino Vazquez
parent 7f2db0c57a
commit c89bb1309a
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

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>";