Actualizar asignados.html

This commit is contained in:
2026-05-17 16:19:37 +00:00
parent ba8912c123
commit 8b345c320b

View File

@@ -596,6 +596,13 @@ function renderServices(servicesToRender = localServices) {
delayHtml = `<span class="bg-rose-100 text-rose-600 text-[8px] font-black px-2 py-0.5 rounded uppercase tracking-widest ml-2">Retraso: ${delayDays} días</span>`;
}
let guildName = raw["Gremio"] || raw["GREMIO"];
if (!guildName && s.guild_id) {
const guildObj = systemGuilds.find(g => String(g.id) === String(s.guild_id));
if (guildObj) guildName = guildObj.name;
}
guildName = guildName || "Varios";
return `
<div class="bg-white p-5 rounded-3xl border border-slate-200 shadow-sm relative overflow-hidden mb-4">
${isUrgent ? '<div class="absolute top-0 right-0 bg-red-500 text-white text-[8px] font-black px-3 py-1 rounded-bl-xl uppercase tracking-widest shadow-sm z-10">Urgente</div>' : ''}