* rel="nofollow" und target="_blank" für verschiedene externe Links

* Mindestpreis im Slider oben im Reiseprogramm nicht anzeigen, wenn keine Termine vorhanden sind
* Tripodo-Export

git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3315 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
uli 2017-03-14 08:01:57 +00:00
parent 42c55d44a1
commit b8ec81329a
17 changed files with 380 additions and 18 deletions

View file

@ -16,8 +16,8 @@
<div class="col-md-3 col-sm-12 col-xs-12">
<div class="social-footer text-right">
<a href="/ueber-uns" title="Über uns"><i class="fa fa-users"></i></a>
<a href="https://de-de.facebook.com/sterntours/" title="Facebook"><i class="fa fa-facebook"></i></a>
<a href="https://plus.google.com/+sterntours" title="Google"><i class="fa fa-google-plus"></i></a>
<a href="https://de-de.facebook.com/sterntours/" title="Facebook" target="_blank" rel="nofollow"><i class="fa fa-facebook"></i></a>
<a href="https://plus.google.com/+sterntours" title="Google" target="_blank" rel="nofollow"><i class="fa fa-google-plus"></i></a>
</div>
</div>
</div>

View file

@ -35,7 +35,7 @@
<li itemprop="name"><a href="#" title="" itemprop="">Kulturreisen</a></li>
<li itemprop="name">
<a href="https://www.stern-usedom.de" title="Usedom Ferienwohnungen" itemprop="url"
target="_blank"
target="_blank" rel="nofollow"
>
Usedom Ferienwohnungen
</a>

View file

@ -8,7 +8,7 @@
<div class="home-message text-center">
<div class="home-info-box">
<div id="eKomiSeal_default" class="eKomi-header">
<a id="eKomiSeal_BBBA4ECJTK29MA5_eKomiSeal_default" href="https://www.ekomi.de/bewertungen-stern-tours.html" title="eKomi - The Feedback Company: "><img border="0" src="https://connect.ekomi.de/seal/BBBA4ECJTK29MA5-70x70.png" alt="eKomi - The Feedback Company: "></a>
<a id="eKomiSeal_BBBA4ECJTK29MA5_eKomiSeal_default" href="https://www.ekomi.de/bewertungen-stern-tours.html" title="eKomi - The Feedback Company: " target="_blank" rel="nofollow"><img border="0" src="https://connect.ekomi.de/seal/BBBA4ECJTK29MA5-70x70.png" alt="eKomi - The Feedback Company: "></a>
</div>
<ul class="c4">
<li>Spezialist für Kulturreisen </li>

View file

@ -8,4 +8,4 @@
{% set image_url = '/bundles/app/images/no-picture.png' %}
{% set image_alt = 'Kein Vorschaubild vorhanden' %}
{% endif %}
<div class="img-background" alt="{{ image_alt }}" style="background-image: url({{ image_url }})"></div>
<div class="img-background" style="background-image: url({{ image_url }})"></div>

File diff suppressed because one or more lines are too long

View file

@ -19,10 +19,11 @@
********* SLIDER *********
#}
<div class="price-over-slider">
<div class="cprice">ab {{ travel_program.lowestPrice|number_format }} € p.P.</div>
</div>
{% if travel_program.lowestPrice > 0 %}
<div class="price-over-slider">
<div class="cprice">ab {{ travel_program.lowestPrice|number_format }} € p.P.</div>
</div>
{% endif %}
<div class="pull-right btn-over-slider">
<button type="button"

View file

@ -0,0 +1,119 @@
{# @var travel_program \AppBundle\Entity\TravelProgram #}
<travel>
<title>{{ travel_program.title }}</title>
<url>{{ base_url }}{{ travel_program.page.urlPath }}</url>
<locations>
{% for country in travel_program.countries %}
{% if country.destinations is empty %}
<location>
<country>{{ country.name }}</country>
</location>
{% else %}
{% for destination in country.destinations %}
<location>
<country>{{ country.name }}</country>
<region>{{ destination.name }}</region>
{# Actually <city> instead of <region>, but combination of city + country is not allowed #}
</location>
{% endfor %}
{% endif %}
{% endfor %}
</locations>
<types>
<type>Rundreisen</type>
<type>Kulturreisen</type>
<type>Tagesprogramm</type>
{% if travel_program.programCode in ['AEGYST001', 'AEGYST002', 'AEGYST003', 'AEGYST004', 'AEGYST005',
'AEGYST006', 'AEGYST008']
%}
<type>Kreuzfahrten</type>
{% endif %}
</types>
<accommodation>Hotel</accommodation>
<transport>Flugzeug</transport>
<duration>{{ travel_program.programDuration }}</duration>
<price_from>{{ travel_program.lowestPrice }}</price_from>
<description_short>{{ subtitle }}</description_short>
<min_traveler_count>{{ 5 in travel_program.countries.keys ? 2 : 1 }}</min_traveler_count>
<max_traveler_count>{{ 6 in travel_program.countries.keys ? 26 : 12 }}</max_traveler_count>
<description_long>
{% filter escape('html') %}
{{ html_description|raw }}
{% if included is not empty %}
<p><b>Leistungen inklusive</b></p>
<ul>
{% for travel_program_service in included|split('\n') %}
<li>{{ travel_program_service|raw }}</li>
{% endfor %}
</ul>
{% endif %}
{% if travel_program.excluded is not empty %}
<p><b>Nicht eingeschlossene / zubuchbare Leistungen</b></p>
<ul>
{% for option in travel_program.options %}
<li>
{{ option.name }}<br/>
<small>{{ option.description|raw }}</small>
</li>
{% endfor %}
</ul>
{% endif %}
{% if advices is not empty %}
<p><b>Hinweise</b></p>
<ul>
{% for travel_program_advice in advices|trim|split('\n') %}
<li>{{ travel_program_advice|raw }}</li>
{% endfor %}
</ul>
{% endif %}
{% endfilter %}
</description_long>
<images>
{% for image in travel_program.images %}
<image>{{ base_url }}/uploads/travel_program/{{ image.fileNameWithExtension }}</image>
{% endfor %}
</images>
<price_list>
{% for travel_date in travel_program.travelDates if 3 in travel_date.prices|keys %}
<row>
<start_date>{{ travel_date.start|date('Y-m-d') }}</start_date>
<end_date>{{ travel_date.end|date('Y-m-d') }}</end_date>
<status>{{ travel_date.status }}</status>
{% for price in travel_date.prices %}
{% if price.priceTypeId == 1 %}
<pricePerPerson>{{ price.effectiveDiscountPrice ?? price.effectivePrice }}</pricePerPerson>
{% elseif price.priceTypeId == 3 %}
<singleRoomPricePerPerson>{{ price.effectiveDiscountPrice ?? price.effectivePrice }}</singleRoomPricePerPerson>
{% endif %}
{% endfor %}
<excluded_services>
{% for departure in travel_date.departures %}
<service>
<name>
{{ departure.name|lower == 'eigenanreise' ? 'Eigenanreise' : ('Kosten Abflug ' ~ departure.name) }}
</name>
<price_single>{{ departure.extraCharge }}</price_single>
<type>departure</type>
<group>departure</group>
</service>
{% endfor %}
</excluded_services>
</row>
{% endfor %}
</price_list>
<included_services>
{% for travel_program_service in travel_program.included|split('\n') %}
<service>{{ travel_program_service }}</service>
{% endfor %}
</included_services>
<excluded_services>
{% for option in travel_program.options %}
<service>
<name>{{ option.name }}</name>
<description>{{ option.description }}</description>
<price_single>{{ option.price }}</price_single>
<price_children>{{ option.priceChildren }}</price_children>
</service>
{% endfor %}
</excluded_services>
</travel>

View file

@ -20,3 +20,9 @@ parameters:
st_cache_driver: array
locale: de_DE
base_url: https://www.sterntours.de
# Tripodo export
tripodo_host: ~
tripodo_user: ~
tripodo_pass: ~