* Boxen home.html Ergänzung p Tags für gleiche Höher der Copy * Boxen Bilder die kleiner sind als 190px werden mit JS auf 190px Höhe / Width auto angepasst. * Preisstörer im Slider * Style Video Links * Style Listen * Scrollbalken im Buchungsformular bei Dropdown entfernt * Alle Buttons von grau auf grün geändert * Überschriften Boxen auf 16px * Link Flughäfen unterstrichen * Dropdowns gehen nur noch nach unten auf Autodropup false * Kalender auch über das Icon - labels mit for=„ID“ * Termin Nummer in den Tabellen auf 80% Schrift git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3298 f459cee4-fb09-11de-96c3-f9c5f16c3c76
40 lines
2 KiB
Twig
40 lines
2 KiB
Twig
{# @var child_page \AppBundle\Entity\Page #}
|
|
<div class="col-md-4 col-sm-4">
|
|
<div class="travel-wrapper get-box-link">
|
|
<div class="item text-left">
|
|
<div class="item-img">
|
|
<div class="lb">
|
|
{% if child_page.boxStar is not empty %}
|
|
<div class="cstar_left">{{ child_page.boxStar|raw }}</div>
|
|
{% endif %}
|
|
{% if child_page.travelProgram is not empty and child_page.travelProgram.lowestPrice > 0 %}
|
|
<div class="cprice">ab {{ child_page.travelProgram.lowestPrice|number_format }} € p.P.</div>
|
|
{% endif %}
|
|
{% if child_page.boxDiscount is not empty %}
|
|
<div class="cdiscount">{{ child_page.boxDiscount|raw }}</div>
|
|
{% endif %}
|
|
</div>
|
|
|
|
{% if child_page.boxImageUrl is not empty %}
|
|
{% set image_url = child_page.boxImageUrl %}
|
|
{% set image_alt = child_page.travelProgram.title|default(child_page.title) %}
|
|
{% elseif child_page.boxImageUrl is not empty %}
|
|
{% set image_url = '/uploads/travel_program/' ~ child_page.travelProgram.previewImage.fileNameWithExtension %}
|
|
{% set image_alt = child_page.title %}
|
|
{% else %}
|
|
{% set image_url = '/bundles/app/images/no-picture.png' %}
|
|
{% set image_alt = 'Kein Vorschaubild vorhanden' %}
|
|
{% endif %}
|
|
<img src="{{ image_url }}" alt="{{ image_alt }}">
|
|
|
|
</div>
|
|
<div class="box_mid">
|
|
<div class="hl5">{{ child_page.title }}</div>
|
|
<p>{{ child_page.boxBody ?? child_page.description }}</p>
|
|
</div>
|
|
<a class="item-button is-box-link dobble_line" href="{{ child_page.urlPath }}" title="{{ child_page.title }}">
|
|
{{ child_page.title }}
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|