This commit is contained in:
Lizandro Guarnizo
2026-05-13 22:05:20 -05:00
parent 381425b7e6
commit 9bcddcf1ea
4 changed files with 28 additions and 4 deletions
+8 -1
View File
@@ -229,7 +229,14 @@
<div class="ml-1">
<p class="text-sm font-medium text-gray-800" x-text="ev.titulo"></p>
<p class="text-xs text-gray-500 mt-0.5" x-text="ev.detalle"></p>
<time class="text-xs text-gray-400" x-text="fmtDatetime(ev.fecha)"></time>
<template x-if="ev.enlace">
<a :href="ev.enlace" target="_blank" rel="noopener"
class="inline-flex items-center gap-1 text-xs text-indigo-600 hover:underline mt-0.5 break-all">
<svg class="w-3 h-3 shrink-0" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"/></svg>
<span x-text="ev.enlace.length > 50 ? ev.enlace.slice(0,50)+'…' : ev.enlace"></span>
</a>
</template>
<time class="block text-xs text-gray-400 mt-0.5" x-text="fmtDatetime(ev.fecha)"></time>
<span x-show="ev.estado==='error'" class="ml-2 text-xs text-red-500 font-medium">Fallido</span>
</div>
</li>