This commit is contained in:
Lizandro Guarnizo
2026-01-23 22:28:29 -05:00
parent 2017c8c805
commit e163fe21f6
2 changed files with 15 additions and 14 deletions
+11 -13
View File
@@ -959,16 +959,17 @@
} }
}; };
} }
holdIndicator.textContent = 'EN ESPERA';
holdIndicator.style.color = '#b85'; if (conv.on_hold) {
holdIndicator.style.display = 'inline'; holdIndicator.textContent = 'EN ESPERA';
} else if (conv.advisor_requested) { holdIndicator.style.color = '#b85';
holdIndicator.textContent = 'SOLICITUD PENDIENTE'; holdIndicator.style.display = 'inline';
holdIndicator.style.color = '#f39c12'; } else if (conv.advisor_requested) {
holdIndicator.style.display = 'inline'; holdIndicator.textContent = 'SOLICITUD PENDIENTE';
} else { holdIndicator.style.color = '#f39c12';
holdIndicator.style.display = 'none'; holdIndicator.style.display = 'inline';
} } else {
holdIndicator.style.display = 'none';
} }
if (releaseBtn) { if (releaseBtn) {
@@ -1074,9 +1075,6 @@
}; };
} }
} }
}
};
}
if (btn) { if (btn) {
btn.textContent = conv.bot_enabled ? 'Bot: On' : 'Bot: Off'; btn.textContent = conv.bot_enabled ? 'Bot: On' : 'Bot: Off';
+4 -1
View File
@@ -207,7 +207,10 @@ try {
<div class="card-header bg-gradient-primary text-white"> <div class="card-header bg-gradient-primary text-white">
<div class="row align-items-center"> <div class="row align-items-center">
<div class="col"> <div class="col">
<h5 class="mb-0"><i class="fas fa-comments"></i> Conversaciones</h5> <h5 class="mb-0 d-flex align-items-center">
<i class="fas fa-comments"></i>&nbsp; Conversaciones
<a href="conversations.php" class="btn btn-sm btn-light ms-3" style="font-size:0.75rem;">Ver nueva versión</a>
</h5>
<small class="text-white-50">Administra tus chats de WhatsApp</small> <small class="text-white-50">Administra tus chats de WhatsApp</small>
</div> </div>
<div class="col-auto"> <div class="col-auto">