Actualizar asignados.html
This commit is contained in:
@@ -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>`;
|
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 `
|
return `
|
||||||
<div class="bg-white p-5 rounded-3xl border border-slate-200 shadow-sm relative overflow-hidden mb-4">
|
<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>' : ''}
|
${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>' : ''}
|
||||||
|
|||||||
Reference in New Issue
Block a user