Feat: Show all dates in table by default
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
</f:variable>
|
||||
<div class="mb-4"
|
||||
data-controller="pricetable"
|
||||
data-pricetable-show-all-rows-value="true"
|
||||
data-pricetable-icon-sprite-url-value="{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/icons_sprite.svg', absolute: 1)}">
|
||||
|
||||
<f:if condition="{isProductWithNoInfoConcept}">
|
||||
@@ -45,7 +46,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<f:for each="{bookableDates}" as="row" iteration="iteration">
|
||||
<tr class="odd:bg-zinc-50 hover:bg-zinc-100 odd:hover:bg-zinc-100{f:if(condition: '{bookableDates -> f:count()} > 5 && {iteration.cycle} > 5', then: ' hidden')}"
|
||||
<tr class="odd:bg-zinc-50 hover:bg-zinc-100 odd:hover:bg-zinc-100"
|
||||
data-pricetable-target="row">
|
||||
<td class="border-r border-zinc-200 px-2 py-1 md:p-2">
|
||||
<f:if condition="{bookable} && {row.available} && {row.showBookingButton}">
|
||||
|
||||
Reference in New Issue
Block a user