Show pseudo prices in price/dates-tables
This commit is contained in:
@@ -27,8 +27,8 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Termin</th>
|
||||
<th>Nächte</th>
|
||||
<th>Preis ab</th>
|
||||
<th><i class="fa fa-bed tooltiptoggle" data-placement="top" title="Nächte"></i></th>
|
||||
<th>ab <i class="fa fa-euro tooltiptoggle" data-placement="top" title="Preis ab"></i></th>
|
||||
<th>inkl.</th>
|
||||
<th class="hidden-xs"></th>
|
||||
</tr>
|
||||
@@ -53,7 +53,10 @@
|
||||
<template v-else>{{ row.dateStart }} - {{ row.dateEnd }}</template>
|
||||
</td>
|
||||
<td class="dates-table__cell dates-table__cell--nights">{{ row.dateNights }}</td>
|
||||
<td class="dates-table__cell dates-table__cell--price"><strong>{{ calculatePrice(row) }} €</strong></td>
|
||||
<td class="dates-table__cell dates-table__cell--price">
|
||||
<span class="dates-table__pseudo-price" v-if="row.datePseudoPrice">{{ row.datePseudoPrice }}</span>
|
||||
<strong>{{ calculatePrice(row) }}</strong>
|
||||
</td>
|
||||
<td class="dates-table__cell dates-table__cell--icons">
|
||||
<span class="icon-wrapper hidden-xs hidden-sm">
|
||||
<i v-if="showBusIcon(row)" data-placement="top" title="Busfahrt inklusive"
|
||||
|
||||
@@ -52,3 +52,11 @@
|
||||
text-align:right;
|
||||
}
|
||||
}
|
||||
|
||||
.dates-table__pseudo-price {
|
||||
font-weight: 400;
|
||||
font-size: 85%;
|
||||
color: $color-font-light;
|
||||
text-decoration: line-through;
|
||||
display: block;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user