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