Add option to enable or disable Shop button
This commit is contained in:
@@ -20,11 +20,13 @@
|
||||
<div class="shop__content">
|
||||
<h3 class="title-medium">{shop.module_title}</h3>
|
||||
<p class="text-small">{shop.module_text}</p>
|
||||
<Button
|
||||
url="/shop"
|
||||
text="Shop"
|
||||
class="button--pink"
|
||||
/>
|
||||
{#if shop.enabled}
|
||||
<Button
|
||||
url="/shop"
|
||||
text="Shop"
|
||||
class="button--pink"
|
||||
/>
|
||||
{/if}
|
||||
<p class="detail">
|
||||
Posters available for {locationsWithPoster.join(', ').replace(/,(?!.*,)/gmi, ' and')}.
|
||||
</p>
|
||||
|
||||
@@ -78,6 +78,7 @@
|
||||
}
|
||||
|
||||
shop {
|
||||
enabled
|
||||
module_title
|
||||
module_text
|
||||
module_image {
|
||||
|
||||
Reference in New Issue
Block a user