SEO Update
This commit is contained in:
+12
-12
@@ -104,7 +104,7 @@ $jsonld = render_event_jsonld_graph($upcoming);
|
||||
</div>
|
||||
|
||||
<div class="row g-4">
|
||||
<?php foreach ($upcoming as $e): $mid = 'event-'.h($e['id']); ?>
|
||||
<?php foreach ($upcoming as $e): $mid = 'event-'.h($e['id']); $detailPath = event_path($e); ?>
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<article class="poster-card position-relative h-100"
|
||||
data-bs-toggle="modal" data-bs-target="#<?= $mid ?>"
|
||||
@@ -189,17 +189,17 @@ $jsonld = render_event_jsonld_graph($upcoming);
|
||||
$mailto = 'mailto:' . $reserveTo . '?subject=' . $subject . '&body=' . $body;
|
||||
}
|
||||
?>
|
||||
<?php if (!empty($reserveEnabled) || $ticketUrl): ?>
|
||||
<div class="mt-3 d-grid gap-2 d-sm-flex justify-content-center">
|
||||
<?php if (!empty($reserveEnabled)): ?>
|
||||
<a class="btn btn-accent btn-sm" href="<?= h($mailto) ?>" onclick="event.stopPropagation()">Tickets per Mail reservierbar</a>
|
||||
<?php endif; ?>
|
||||
<?php if ($ticketUrl): ?>
|
||||
<a class="btn btn-brand btn-sm" href="<?= h($ticketUrl) ?>" target="_blank" rel="noopener" onclick="event.stopPropagation()">Tickets sichern</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php elseif (!empty($e['tickets_info'])): ?>
|
||||
<div class="mt-3 small text-muted"><strong>Tickets:</strong> <?= h($e['tickets_info']) ?></div>
|
||||
<div class="mt-3 d-grid gap-2 d-sm-flex justify-content-center">
|
||||
<a class="btn btn-outline-secondary btn-sm" href="<?= h($detailPath) ?>" onclick="event.stopPropagation()">Details</a>
|
||||
<?php if (!empty($reserveEnabled)): ?>
|
||||
<a class="btn btn-accent btn-sm" href="<?= h($mailto) ?>" onclick="event.stopPropagation()">Tickets per Mail reservierbar</a>
|
||||
<?php endif; ?>
|
||||
<?php if ($ticketUrl): ?>
|
||||
<a class="btn btn-brand btn-sm" href="<?= h($ticketUrl) ?>" target="_blank" rel="noopener" onclick="event.stopPropagation()">Tickets sichern</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php if (empty($reserveEnabled) && !$ticketUrl && !empty($e['tickets_info'])): ?>
|
||||
<div class="mt-2 small text-muted"><strong>Tickets:</strong> <?= h($e['tickets_info']) ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<a href="#<?= $mid ?>" class="stretched-link" data-bs-toggle="modal" data-bs-target="#<?= $mid ?>" aria-hidden="true" tabindex="-1"></a>
|
||||
|
||||
Reference in New Issue
Block a user