* Suchformular auf Startseite funktioniert nun
* Neueste Design-Änderungen aufgenommen * Sortierung auf Reiseübersichtsseiten * Fehler bei Suche behoben git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3285 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
99c6715712
commit
23b2c7a7e8
12 changed files with 217 additions and 119 deletions
|
|
@ -58,35 +58,31 @@
|
|||
|
||||
<div class="tab-content">
|
||||
<div role="tabpanel" class="tab-pane active" id="tab_01">
|
||||
<form class="bookform form-inline row">
|
||||
|
||||
<form class="bookform form-inline row" action="/suche" method="get">
|
||||
<div class="form-group col-md-3 col-sm-6 col-xs-12">
|
||||
<div class="dropdown">
|
||||
<select class="selectpicker" data-style="btn-white" data-dropup-auto="false">
|
||||
<option>Reiseziel</option>
|
||||
<option value="">beliebig</option>
|
||||
<option value="5">Ägypten</option>
|
||||
<option value="6">Israel</option>
|
||||
<option value="7">Jordanien</option>
|
||||
<option value="9">Marokko</option>
|
||||
<option value="10">VAE</option>
|
||||
<option value="11">Türkei</option>
|
||||
<option value="12">Iran</option>
|
||||
<option value="15">Usbekistan</option>
|
||||
<option value="16">Oman</option>
|
||||
<select class="selectpicker" data-style="btn-white" data-dropup-auto="false" name="c">
|
||||
<option value="">beliebiges Reiseziel</option>
|
||||
{% for destination in destinations %}
|
||||
<option value="{{ destination.id }}">{{ destination.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-2 col-sm-6 col-xs-12">
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control datepicker" placeholder="Anreise" id="">
|
||||
<input id="" name="b" value="{{ startDate|date }}"
|
||||
type="text" class="form-control datepicker" placeholder="Anreise"
|
||||
>
|
||||
<div class="input-group-addon"><i class="fa fa-calendar"></i></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-sm-6 col-xs-12">
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control datepicker" placeholder="Abreise" id="">
|
||||
<input id="" name="e" value="{{ endDate|date }}"
|
||||
type="text" class="form-control datepicker" placeholder="Abreise"
|
||||
>
|
||||
<div class="input-group-addon"><i class="fa fa-calendar"></i></div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
<div class="dates-count">
|
||||
{{ travel_program.travelDates|length }} passende{% if travel_program.travelDates|length > 1 %} Termine{% else %}r Termin{% endif %}
|
||||
</div>
|
||||
<div class="price pull-left"><span class="small">p.P.</span> ab {{ travel_program.lowestPrice|number_format(2) }} €</div>
|
||||
<div class="price pull-left"><span class="small">p.P.</span> ab {{ travel_program.lowestPrice|number_format }} €</div>
|
||||
|
||||
<div class="pull-right">
|
||||
{# #TODO #}
|
||||
|
|
@ -76,8 +76,8 @@
|
|||
<td data-title="Termin-Nr."><strong>{{ travel_date.name }}</strong></td>
|
||||
<td data-title="Beginn">{{ travel_date.start|date }}</td>
|
||||
<td data-title="Ende">{{ travel_date.end|date }}</td>
|
||||
<td data-title="Preis p.P im Doppelzimmer">ab {{ travel_date.prices[3].effectivePrice|number_format(2) }} €</td>
|
||||
<td data-title="Preis p.P im Einzelzimmer">ab {{ travel_date.prices[1].effectivePrice|number_format(2) }} €</td>
|
||||
<td data-title="Preis p.P im Doppelzimmer">ab {{ travel_date.prices[3].effectivePrice|number_format }} €</td>
|
||||
<td data-title="Preis p.P im Einzelzimmer">ab {{ travel_date.prices[1].effectivePrice|number_format }} €</td>
|
||||
|
||||
<td data-title="Abflugorte / Zuschläge">
|
||||
<a href="#" class="color-brand" data-toggle="modal"
|
||||
|
|
|
|||
|
|
@ -6,13 +6,24 @@
|
|||
|
||||
{#{% for i in 0..page.children|length//3 %}#}
|
||||
<div class="row">
|
||||
{% for child_page in child_pages if child_page.status == 1 %}
|
||||
{% for child_page in child_pages if child_page.status == 1 and child_page.travelProgram is defined %}
|
||||
{# @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">
|
||||
<img src="{{ child_page.previewImageUrl ?? '/bundles/app/images/page1_img'~ (random(3)+1) ~'.jpg' }}" alt="{{ child_page.title }}">
|
||||
<div class="lb">
|
||||
{% if child_page.travelProgram.id > 0 and child_page.travelProgram.id <= 10 %}
|
||||
<div class="cstar_left">{{ child_page.travelProgram.id }}</div>
|
||||
{% endif %}
|
||||
<div class="cprice">ab {{ child_page.travelProgram.lowestPrice|number_format }} € p.P.</div>
|
||||
<div class="cdiscount">Frühbucherrabatt</div>
|
||||
</div>
|
||||
{% if child_page.travelProgram.previewImage is defined %}
|
||||
<img src="https://www.sterntours.de/uploads/travel_program/{{ child_page.travelProgram.previewImage.fileNameWithExtension }}"
|
||||
alt="{{ child_page.title }}"
|
||||
>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="box_mid">
|
||||
<div class="hl5">{{ child_page.title }}</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue