diff --git a/trunk/app/Resources/views/admin.html.twig b/trunk/app/Resources/views/admin.html.twig index 494e9911..0188c587 100644 --- a/trunk/app/Resources/views/admin.html.twig +++ b/trunk/app/Resources/views/admin.html.twig @@ -20,20 +20,10 @@ + + {% block stylesheets %} - {% stylesheets - 'bundles/app/css/bootstrap-3.3.7.css' - filter='cssrewrite' - %} - - {% endstylesheets %} - {% stylesheets - 'bundles/app/css/custom.css' - filter='cssrewrite' - %} - - {% endstylesheets %} {% stylesheets 'bundles/app/css/daterangepicker.css' filter='cssrewrite' @@ -48,7 +38,10 @@ - + + + + @@ -116,19 +109,7 @@ {#TODO ausmisten und im gleichen zuge das CSS für den Datepicker einfügen#} {% block javascripts %} - {% javascripts - '@AppBundle/Resources/public/js/jquery-ui-1.12.1.js' - '@AppBundle/Resources/public/js/bootstrap-3.3.7.js' - '@AppBundle/Resources/public/js/jquery.prettyPhoto-3.1.6.js' - '@AppBundle/Resources/public/js/parallax.js' - '@AppBundle/Resources/public/js/owl.carousel-2.2.0.js' - '@AppBundle/Resources/public/js/bootstrap-select-1.12.0.js' - '@AppBundle/Resources/public/vendor/daterangepicker/moment.min.js' - '@AppBundle/Resources/public/vendor/daterangepicker/daterangepicker.js' - '@AppBundle/Resources/public/js/custom.js' - %} - - {% endjavascripts %} + {% endblock javascripts %} diff --git a/trunk/app/Resources/views/base.html.twig b/trunk/app/Resources/views/base.html.twig index 57bfa909..a6ef7778 100644 --- a/trunk/app/Resources/views/base.html.twig +++ b/trunk/app/Resources/views/base.html.twig @@ -34,24 +34,14 @@ {% endblock %} {% endblock %} - - - - - - - - - - - - - - - - - - + + + + + + + + {% block canonical_tag %} {% if canonical_url is not defined and page is defined %} @@ -110,7 +100,7 @@ {% block header2 %}
-
+
@@ -133,7 +123,7 @@ {# #TODO additional section classes if not home #}
-
+
@@ -157,7 +147,7 @@ offers_sidebar_widget_block: block('offers_sidebar_widget') ?? null, feedbacks_sidebar_widget_block: block('feedbacks_sidebar_widget') ?? null, } %} -
+
{% block body %}{% endblock %}
@@ -170,8 +160,12 @@ {% include 'default/components/footer.html.twig' %} -
+ + + + +
{% embed 'default/components/embed/modal.html.twig' with {id: 'default'} %}{% endembed %} diff --git a/trunk/app/Resources/views/default/admin/fewoGroupImage.html.twig b/trunk/app/Resources/views/default/admin/fewoGroupImage.html.twig index 3731473d..89650f56 100644 --- a/trunk/app/Resources/views/default/admin/fewoGroupImage.html.twig +++ b/trunk/app/Resources/views/default/admin/fewoGroupImage.html.twig @@ -15,7 +15,7 @@ {{ form_row(form.file, {label: 'Bild'}) }} {% else %}
- {{ image.description }} + {{ image.description }}
{% endif %} {{ form_row(form.fileName, {label: 'Name'}) }} diff --git a/trunk/app/Resources/views/default/admin/lodgingGroupEdit.html.twig b/trunk/app/Resources/views/default/admin/lodgingGroupEdit.html.twig index 97d01267..fa337174 100644 --- a/trunk/app/Resources/views/default/admin/lodgingGroupEdit.html.twig +++ b/trunk/app/Resources/views/default/admin/lodgingGroupEdit.html.twig @@ -35,7 +35,7 @@ {% for image in lodgingGroup.images %} {% if image.comp == 'pre' %} - {{ image.description }} + {{ image.description }} {{ image.pos }} {{ image.fileName }} {{ image.description }} @@ -85,7 +85,7 @@ {% for image in lodgingGroup.images %} {% if image.comp == 'post' %} - {{ image.description }} + {{ image.description }} {{ image.pos }} {{ image.fileName }} {{ image.description }} diff --git a/trunk/app/Resources/views/default/admin/lodgingsEditCalendar.html.twig b/trunk/app/Resources/views/default/admin/lodgingsEditCalendar.html.twig index d26f857d..152c7057 100644 --- a/trunk/app/Resources/views/default/admin/lodgingsEditCalendar.html.twig +++ b/trunk/app/Resources/views/default/admin/lodgingsEditCalendar.html.twig @@ -6,6 +6,7 @@
{% endif %} +
@@ -66,8 +67,10 @@
- {% if counter%2 == 0 %} + {% if counter%2 == 0 or calendar|length ==counter %}
{% endif %} + + {% endfor %} diff --git a/trunk/app/Resources/views/default/components/booking/fewoSummary.html.twig b/trunk/app/Resources/views/default/components/booking/fewoSummary.html.twig index 7ce20e5b..ddbb2994 100644 --- a/trunk/app/Resources/views/default/components/booking/fewoSummary.html.twig +++ b/trunk/app/Resources/views/default/components/booking/fewoSummary.html.twig @@ -1,16 +1,54 @@ +{% if(isPossible) %} + + + + + {% for season, values in priceResult.season %} + + + + + + + + + + + + + + + + + + + + {% endfor %}
- + {{ total_price_per_night|number_format(2) }} € + Datum: - ({{ fewo_booking_request.numberDays }} {{ fewo_booking_request.numberDays < 2 ? 'Nacht' : 'Nächte' }} x {{ fewo_price.perNight|number_format(2) }} €) + {{ fewo_booking_request.fromDate|date }} - {{ fewo_booking_request.toDate|date }}

+ Saison: + + {{ season }} +
+ Mindestbelegung: + + {{ values.minimumStay }} {{ values.minimumStay < 2 ? 'Nacht' : 'Nächte' }} +
+ + {{ values.price|number_format(2) }} € + + {{ values.numberDays }} {{ values.numberDays < 2 ? 'Nacht' : 'Nächte' }} x {{ values.perNight|number_format(2) }} € +

- + {{ fewo_price.flatPrice|number_format(2) }} € + + {{ priceResult.flatPrice|number_format(2) }} € Service-Gebühr @@ -18,7 +56,7 @@
- + {{ fewo_lodging.deposit|number_format(2) }} € + + {{ priceResult.deposit|number_format(2) }} € Kaution @@ -26,9 +64,15 @@
- = {{ total_price|number_format(2) }} € + = {{ priceResult.total_price|number_format(2) }} € Gesamtpreis der Reise
+{% else %} + + Leider ist der gewünschter Zeitraum ist nicht buchbar.
+ Bitte ändern Sie das Datum, rote Felder sind bereits gebucht. + +{% endif %} \ No newline at end of file diff --git a/trunk/app/Resources/views/default/components/departuresModal.html.twig b/trunk/app/Resources/views/default/components/departuresModal.html.twig index 59953d0a..773dc25d 100644 --- a/trunk/app/Resources/views/default/components/departuresModal.html.twig +++ b/trunk/app/Resources/views/default/components/departuresModal.html.twig @@ -20,13 +20,14 @@ {# @var departure \AppBundle\Entity\TravelDeparturePoint #} - {% if departure.flightTime[startWeekday] is defined %} + {% if departure.flightTime is defined %} + {% if departure.flightTime.startWeekday is defined %} {% if departure.flightTime[startWeekday] != "" %} {% endif %} {% endif %}

{{ departure.name }}

- {% if departure.flightTime[startWeekday] is defined %} + {% if departure.flightTime.startWeekday is defined %}
{% for flightTime in departure.flightTime[startWeekday]|split('\n') %} {% if flightTime != "" %} @@ -35,6 +36,7 @@ {% endfor %}
{% endif %} + {% endif %} {{ departure.extraCharge|number_format(2) }} € diff --git a/trunk/app/Resources/views/default/components/header.html.twig b/trunk/app/Resources/views/default/components/header.html.twig index d647981a..bb5ec7ae 100644 --- a/trunk/app/Resources/views/default/components/header.html.twig +++ b/trunk/app/Resources/views/default/components/header.html.twig @@ -1,6 +1,6 @@
-
+
  • Mo-Fr: 09:00 - 22:00 | Sa: 10:00 - 22:00 | So: 11:00 - 22:00 Uhr
  • @@ -19,7 +19,7 @@