sterntours/trunk/app/Resources/views/default/components/sidebar.html.twig
uli 077163634e * Import von Jugendreisen (www.jugendreisen-spezialist.de)
* CMS-template "sunstar" als Destinationsübersicht für importierte Jugendreisen
* Weitere "rel=nofollow target=_blank
* target="_blank" beachten, wenn Boxen per JS click-Event verlinkt werden
* https://schema.org statt http
* meta itemprop=url auf https://www.sterntours.de geändert
* Startseiten-Content geändert
* "Rote" (nicht verfügbare) Termine auf Suchergebnisseite und Reiseprogrammseiten ausblenden
* Behoben: Fehlermeldung, wenn Start- und Enddatum im Suchfilter nicht eingetragen werden

git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3320 f459cee4-fb09-11de-96c3-f9c5f16c3c76
2017-03-24 15:37:36 +00:00

91 lines
No EOL
9 KiB
Twig

{# @var page \AppBundle\Entity\Page #}
<div id="sidebar" class="col-md-3 col-sm-4 col-xs-12 hidden-xs">
{% if show_search_sidebar_widget ?? true %}
{% if search_sidebar_widget_block is null %}
{% if search_form is defined %}
{{ include('default/components/sidebar/searchSidebarWidget.html.twig') }}
{# #WORKAROUND Overriding this block doesn't work, probably due to a Symfony bug, see ttSearch.html.twig #}
{% elseif tt_search_form is defined %}
{{ include('default/components/sidebar/ttSearchSidebarWidget.html.twig') }}
{# END WORKAROUND #}
{% elseif page is defined %}
{{ render(controller('AppBundle:Component:searchSidebarWidget', {page: page})) }}
{% endif %}
{% else %}
{{ search_sidebar_widget_block|raw }}
{% endif %}
{% endif %}
{% if show_nav_sidebar_widget ?? true and page is defined %}
{% if nav_sidebar_widget_block is null %}
{{ render(controller('AppBundle:Component:navSidebarWidget', {page: page})) }}
{% else %}
{{ nav_sidebar_widget_block|raw }}
{% endif %}
{% endif %}
<div class="widget clearfix">
<div class="widget-title">
TOP bewertet
</div><!-- end title -->
<div class="boxwidget">
<a href="http://www.netzsieger.de/e/stern-tours" target="_blank" rel="nofollow">
{% image '@AppBundle/Resources/public/images/siegel_sehr_gut_SternTours.jpg' %}<img src="{{ asset_url }}" alt="Netzsieger.de bewertet STERN TOURS">{% endimage %}
</a>
</div><!-- end boxwidget -->
<div class="boxwidget">
<div id="auorg-bg" style="margin: 0px; border: 0px; padding: 0px; position: relative; width: 100%; min-width: 150px; height: 259px;"><div itemscope="itemscope" itemtype="https://schema.org/LocalBusiness" id="auorg" style="width:150px;height:259px;;position:absolute;text-transform: initial;background-size: 150px; left:50%;margin-left:-75px;padding:0;border:0;text-align:left;background-image:url(/bundles/app/images/bg-embedlng-m.png);background-repeat:no-repeat;-moz-hyphens:auto;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;word-wrap:break-word;"> <meta itemprop="name" content="STERN TOURS GmbH"><meta itemprop="url" content="https://www.sterntours.de"> <div style="width:150px;height:27px ! important;margin:0;padding:0;border:0;"><a href="https://www.ausgezeichnet.org" target="_blank" rel="nofollow" title="Unabhängige Bewertungen, Kundenbewertungen und Gütesiegel von Ausgezeichnet.org" style="padding:0;margin:0;border:0;line-height:0px ! important;text-decoration:none ! important;color:#000 ! important;background-color:transparent ! important;"> {% image '@AppBundle/Resources/public/images/logo-embed-m.png' %}<img src="{{ asset_url }}" width="150px" height="27px" style="padding:0;margin:0;border:0;display:inline;" title="Unabhängige Bewertungen, Kundenbewertungen und Gütesiegel von Ausgezeichnet.org" alt="Ausgezeichnet.org">{% endimage %} </a></div><div itemprop="aggregateRating" itemscope="itemscope" itemtype="https://schema.org/AggregateRating" style="width:139px;height:106px;margin:0 0 0 11px;border:0;padding:0 0 2px 0;text-align:center ! important;line-height:0px ! important;"> <meta itemprop="worstRating" content="1"><meta itemprop="bestRating" content="5"> <meta itemprop="ratingCount" content="41"> <a href="https://www.ausgezeichnet.org/bewertungen-stern-tours.de-5H50SB" target="_blank" rel="nofollow" class="auorg" style="border:0;margin:0;padding:0 0 0 6px;text-align:center ! important;text-decoration:none ! important;color:#000 ! important;background-color:transparent ! important;"> <img src="/bundles/app/images/rating-5-cent-m.png" style="width:100px;height:32px;margin:26px 0 0 0;padding:0;border:0;display:inline;" alt="sehr gut"> <br><span style="padding:0;font-family:Arial ! important;font-weight:normal ! important;font-size:13px ! important;line-height:18px ! important;color:#000 ! important;background-color:transparent ! important;"><span itemprop="ratingValue" style="padding:0;font-family:Arial ! important;font-weight:bold ! important;font-size:13px ! important;line-height:20px ! important;color:#000 ! important;background-color:transparent ! important;">5.00</span>/5.00</span> <br><span style="font-family:Arial ! important;font-weight:normal ! important;font-size:9px ! important;line-height:9px ! important;color:#000 ! important;background-color:transparent ! important;">41 Bewertungen</span> </a></div><div style="width:115px;height:126px;margin:4px 11px 15px 24px;line-height:0px ! important;"><div style="padding-left:30px;line-height:0px ! important;"><a href="https://www.ausgezeichnet.org/bewertungen-stern-tours.de-5H50SB" target="_blank" rel="nofollow" class="auorg" style="padding:0;margin:0;border:0;text-decoration:none ! important;color:#000 ! important;background-color:transparent ! important;"><span style="font-family:Arial ! important;font-weight:normal ! important;font-size:10px ! important;line-height:10px ! important;color:#000 ! important;background-color:transparent ! important;"><span style="font-family:Arial ! important;font-weight:normal ! important;font-size:10px ! important;line-height:11px ! important;color:#000 ! important;background-color:transparent ! important;width:80px;height:11px;overflow:hidden;display:block;white-space:nowrap;">Anja See...</span><span style="font-family:Arial ! important;font-weight:normal ! important;font-size:10px ! important;line-height:10px ! important;color:#000 ! important;background-color:transparent ! important;"><br>09.08.2016</span><span style="font-family:Arial ! important;font-weight:normal ! important;font-size:10px ! important;line-height:11px ! important;color:#ee5424 ! important;background-color:transparent ! important;padding-left:5px;">mehr</span></span></a></div><div style="border:0;margin-top:4px;width:115px;height:85px;line-height:11px ! important;overflow:hidden;"><a href="https://www.ausgezeichnet.org/bewertungen-stern-tours.de-5H50SB" target="_blank" rel="nofollow" class="auorg" style="padding:0;margin:0;border:0;text-decoration:none ! important;color:#000 ! important;background-color:transparent ! important;"><span style="font-family:Arial ! important;font-weight:normal ! important;font-size:10px ! important;line-height:13px ! important;color:#000 ! important;background-color:transparent ! important;"><span style="font-family:Arial ! important;font-size:10px ! important;line-height:13px ! important;color:#000 ! important;background-color:transparent ! important;font-weight:bold ! important;">Sehr nett,sehr...</span><br>Ich bin restlos zufrieden.Von einem Tag auf den anderen.<br>Stern Tours hat es ...</span></a></div></div></div></div>
<!-- Ausgezeichnet.org-Siegel: Ende -->
</div><!-- end boxwidget -->
<div class="boxwidget">
<div itemscope itemtype="https://data-vocabulary.org/Review-aggregate">
<span itemprop="itemreviewed">STERN TOURS Online-Shop</span><br>
<span itemprop="rating" itemscope itemtype="https://data-vocabulary.org/Rating">
<span itemprop="average">4.90</span> / <span itemprop="best">5</span>
</span>
bei <span itemprop="count">78</span> Bewertungen
</div>
</div>
</div><!-- end widget -->
{% if (show_travel_guide_sidebar_widget ?? true) and page is defined and page.effectiveCountry is not empty %}
{% if travel_guide_sidebar_widget_block is null %}
{{ render(controller('AppBundle:Component:travelGuideSidebarWidget', {country: page.effectiveCountry})) }}
{% else %}
{{ travel_guide_sidebar_widget_block|raw }}
{% endif %}
{% endif %}
{% if (show_travel_magazine_sidebar_widget ?? true) and page is defined and page.effectiveCountry is not empty %}
{% if travel_magazine_sidebar_widget_block is null %}
{{ render(controller('AppBundle:Component:travelMagazineSidebarWidget', {country: page.effectiveCountry})) }}
{% else %}
{{ travel_magazine_sidebar_widget_block|raw }}
{% endif %}
{% endif %}
{% if (show_offers_sidebar_widget ?? true) %}
{% if offers_sidebar_widget_block is null %}
{{ render(controller('AppBundle:Component:offersSidebarWidget', {country: page.effectiveCountry ?? null})) }}
{% else %}
{{ offers_sidebar_widget_block|raw }}
{% endif %}
{% endif %}
{% if (show_feedbacks_sidebar_widget ?? true) and page is defined and page.effectiveCountry is not empty
and page.effectiveCountry.feedbackPage is not empty
%}
{% if feedbacks_sidebar_widget_block is null %}
{{ render(controller('AppBundle:Component:feedbacksSidebarWidget', {country: page.effectiveCountry ?? null})) }}
{% else %}
{{ feedbacks_sidebar_widget_block|raw }}
{% endif %}
{% endif %}
</div><!-- end col -->