fix bookableStock
This commit is contained in:
parent
ea052d22f0
commit
9b4e35f3af
8 changed files with 79 additions and 28 deletions
|
|
@ -62,24 +62,27 @@
|
|||
</ul>
|
||||
<button class="calendar-strip__calendar-btn">calendrier</button>
|
||||
<div class="calendar-strip__date" :class="open ? 'open' : ''">
|
||||
<ul class="calendar-strip__sessions">
|
||||
<ul class="sessions sessions--detailed">
|
||||
<template x-for="session in targetSessions">
|
||||
<li class="calendar-strip__session" :style="'--color: ' + session.color">
|
||||
<a :href="session.eventUrl" title="En savoir plus">
|
||||
<div x-html="`${session.day} ${monthName}<br><br>${session.time}`"></div>
|
||||
<div>
|
||||
<li class="session" :style="'--color: ' + session.color">
|
||||
<a class="session__event-link" :href="session.eventUrl" title="En savoir plus">
|
||||
<div class="session__info">
|
||||
<p x-html="`${session.day} ${monthName}`"></p>
|
||||
<p x-html="session.time"></p>
|
||||
</div>
|
||||
<div class="session__info">
|
||||
<p><strong x-html="`<strong>${session.title}</strong>`"></strong></p>
|
||||
<p x-html="session.authors"></p>
|
||||
</div>
|
||||
<div x-text="`${session.duration}`"></div>
|
||||
<div x-text="`${session.place}`"></div>
|
||||
<template x-if="session.ticketingUrl">
|
||||
<div>
|
||||
<div class="session__info">
|
||||
<a class="ticket-link" :href="session.ticketingUrl" target="_blank" title="Aller à la billetterie"><?php snippet('ticket') ?> Billetterie</a>
|
||||
</div>
|
||||
</template>
|
||||
<template x-if="!session.ticketingUrl">
|
||||
<div>
|
||||
<div class="session__info">
|
||||
<a class="ticket-link" target="_blank" title="Entrée libre" disabled><?php snippet('ticket') ?> Entrée libre</a>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<section class="collapsable" x-data="{
|
||||
<section class="collapsable<?php e(isset($sessions), ' sessions') ?>" x-data="{
|
||||
open: false
|
||||
}">
|
||||
<button class="toggle" :class="open ? 'open' : ''" @click="open = !open" :title="open ? 'Fermer la section': 'Ouvrir la section'" :aria-expanded="open ? true : false">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue