add callout ticket button show / hide
This commit is contained in:
parent
aa572adb16
commit
baffb504b6
4 changed files with 15 additions and 5 deletions
|
|
@ -1,4 +1,6 @@
|
|||
<section class="callout" style="--color: <?= $site->calloutColor() ?>;">
|
||||
<h4><?= $site->calloutText()->inline() ?></h4>
|
||||
<a class="ticket-link" href="<?= option('ticketingUrl') ?>" target="_blank" title="Aller à la billetterie"><?php snippet('ticket') ?> Billetterie</a>
|
||||
<?php if ($site->calloutTicket()->exists() && $site->calloutTicket() == 'true'): ?>
|
||||
<a class="ticket-link" href="<?= option('ticketingUrl') ?>" target="_blank" title="Aller à la billetterie"><?php snippet('ticket') ?> Billetterie</a>
|
||||
<?php endif ?>
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue