Add 'new' label
This commit is contained in:
@@ -120,6 +120,10 @@
|
||||
text-transform: uppercase;
|
||||
white-space: nowrap;
|
||||
|
||||
&--new {
|
||||
color: $color-label-earlybird;
|
||||
}
|
||||
|
||||
&--earlybird {
|
||||
color: $color-label-earlybird;
|
||||
}
|
||||
|
||||
@@ -67,9 +67,9 @@
|
||||
<span class="product-teaser__price"><strong>ab {teaser.minPrice} €</strong>{f:if(condition: teaser.pseudoPrice, then: ' <s class="product-teaser__pseudo-price">{teaser.pseudoPrice} €</s>')}</span>
|
||||
<f:if condition="{date.pseudoPrice}">
|
||||
<f:else>
|
||||
<div class="product-teaser__labels{f:if(condition: '{0: teaser.date.earlybird, 1: teaser.date.lowContingent} == {0: 1, 1: 1}', then: ' product-teaser__labels--multiple')}">
|
||||
<f:if condition="{teaser.date.earlybird}">
|
||||
<span class="teaser-label teaser-label--earlybird">Frühbucher</span>
|
||||
<div class="product-teaser__labels{f:if(condition: '{teaser.new} == 1 && {teaser.date.lowContingent} == 1', then: ' product-teaser__labels--multiple')}">
|
||||
<f:if condition="{teaser.new}">
|
||||
<span class="teaser-label teaser-label--new">Neu</span>
|
||||
</f:if>
|
||||
<f:if condition="{teaser.date.lowContingent}">
|
||||
<span class="teaser-label teaser-label--low-contingent">Wenige Betten</span>
|
||||
|
||||
Reference in New Issue
Block a user