improve callout
This commit is contained in:
parent
83c51cc39e
commit
f9016d703e
4 changed files with 12 additions and 8 deletions
|
|
@ -1,8 +1,8 @@
|
|||
<?php foreach($site->callout()->toStructure() as $callout): ?>
|
||||
<section class="callout" style="--color: <?= $callout->color() ?>;">
|
||||
<?= $callout->text() ?>
|
||||
<?php if ($callout->ticket() == 'true'): ?>
|
||||
<a class="ticket-link" href="<?= option('ticketingUrl') ?>" target="_blank" title="Aller à la billetterie"><?php snippet('ticket') ?> Billetterie</a>
|
||||
<?php if ($callout->ticket()->isNotEmpty()): ?>
|
||||
<a class="ticket-link" href="<?= $callout->ticket() ?>" target="_blank" title="Aller à la billetterie"><?php snippet('ticket') ?> Billetterie</a>
|
||||
<?php endif ?>
|
||||
</section>
|
||||
<?php endforeach ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue