<?php
    /** @var array<string,mixed> $overview */
    $ev = $overview['event'] ?? [];
?>

<div class="rt-ev-att-overview-meta mb-3">
    <h6 class="text-uppercase text-muted small font-weight-bold mb-3"><?php echo e(__('Detalles del evento')); ?></h6>
    <dl class="row mb-0 small">
        <dt class="col-md-3 text-muted"><?php echo e(__('Fecha del evento')); ?></dt>
        <dd class="col-md-9 mb-2"><?php echo e($ev['start_label'] ?? '—'); ?></dd>
        <dt class="col-md-3 text-muted"><?php echo e(__('Recinto')); ?></dt>
        <dd class="col-md-9 mb-2"><?php echo e($ev['venue_name'] ?? '—'); ?></dd>
        <dt class="col-md-3 text-muted"><?php echo e(__('Tipo de contenido')); ?></dt>
        <dd class="col-md-9 mb-2"><?php echo e($ev['content_type_label'] ?? '—'); ?></dd>
    </dl>
    <div class="small">
        <?php $showPipe = false; ?>
        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('update', $event)): ?>
            <a href="<?php echo e(route('dashboard.events.edit', $event)); ?>"><?php echo e(__('Editar evento')); ?></a>
            <?php $showPipe = true; ?>
        <?php endif; ?>
        <?php if(! empty($ev['public_url'])): ?>
            <?php if($showPipe): ?>
                <span class="mx-2 text-muted">|</span>
            <?php endif; ?>
            <a href="<?php echo e($ev['public_url']); ?>" target="_blank" rel="noopener"><?php echo e(__('Ver evento')); ?></a>
        <?php endif; ?>
    </div>
</div>
<?php /**PATH /var/www/html/resources/views/dashboard/events/partials/attendees-event-header.blade.php ENDPATH**/ ?>