source = $this->getSourceContext(); $this->blocks = [ 'stylesheets' => [$this, 'block_stylesheets'], 'body' => [$this, 'block_body'], 'travel_lodging_program_tab_bar' => [$this, 'block_travel_lodging_program_tab_bar'], ]; } protected function doGetParent(array $context) { // line 3 return $this->loadTemplate($this->extensions['AppBundle\Twig\AppExtension']->getBaseTemplate(), "default/pages/cms/fewoTravelProgram.html.twig", 3); } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/pages/cms/fewoTravelProgram.html.twig")); $this->getParent($context)->display($context, array_merge($this->blocks, $blocks)); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 5 public function block_stylesheets($context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets")); // line 6 echo " "; // line 7 echo " env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/my-fewo.css?v"), "html", null, true); echo twig_escape_filter($this->env, $this->extensions['AppBundle\Twig\AppExtension']->getFileLastTime("css/my-fewo.css"), "html", null, true); echo "\"> "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 9 public function block_body($context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body")); // line 10 echo "

"; // line 14 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 14, $this->source); })()), "name", [], "any", false, false, false, 14), "html", null, true); echo "

"; // line 19 echo "
    "; // line 24 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["slider_imgs"]) || array_key_exists("slider_imgs", $context) ? $context["slider_imgs"] : (function () { throw new RuntimeError('Variable "slider_imgs" does not exist.', 24, $this->source); })())); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["lodging_image"]) { // line 25 echo "
  1. env, (twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 25) - 1), "html", null, true); echo "\" "; if (twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 25)) { echo "class=\"active\""; } echo ">
  2. "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['lodging_image'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 27 echo "
"; // line 30 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["slider_imgs"]) || array_key_exists("slider_imgs", $context) ? $context["slider_imgs"] : (function () { throw new RuntimeError('Variable "slider_imgs" does not exist.', 30, $this->source); })())); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["lodging_image"]) { // line 31 echo "
env, $this->source, $context["loop"], "first", [], "any", false, false, false, 31)) { echo " active"; } echo "\">
env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("_uploads/images/" . twig_get_attribute($this->env, $this->source, $context["lodging_image"], "file", [], "any", false, false, false, 32))), "html", null, true); echo ");background-position: center center\"> "; // line 33 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["lodging_image"], "fileName", [], "any", false, false, false, 33), "html", null, true); echo "
"; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['lodging_image'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 37 echo "
Previous Next
"; // line 55 echo " "; // line 56 $this->displayBlock('travel_lodging_program_tab_bar', $context, $blocks); // line 79 echo "
"; // line 85 echo "

Allgemeines

Typ Adresse PLZ Ort Max. Personenanzahl Kaution
"; // line 105 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 105, $this->source); })()), "type", [], "any", false, false, false, 105), "html", null, true); echo " "; // line 108 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 108, $this->source); })()), "adress1", [], "any", false, false, false, 108), "html", null, true); echo " "; // line 109 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 109, $this->source); })()), "adress2", [], "any", false, false, false, 109))) { // line 110 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 110, $this->source); })()), "adress2", [], "any", false, false, false, 110), "html", null, true); echo " "; } // line 112 echo " "; // line 114 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 114, $this->source); })()), "zipCode", [], "any", false, false, false, 114), "html", null, true); echo " "; // line 117 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 117, $this->source); })()), "city", [], "any", false, false, false, 117))) { // line 118 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 118, $this->source); })()), "city", [], "any", false, false, false, 118), "html", null, true); echo " "; } // line 120 echo " "; // line 122 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 122, $this->source); })()), "maximumPersons", [], "any", false, false, false, 122))) { // line 123 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 123, $this->source); })()), "maximumPersons", [], "any", false, false, false, 123), "html", null, true); echo " "; } // line 125 echo " "; // line 127 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 127, $this->source); })()), "deposit", [], "any", false, false, false, 127))) { // line 128 echo " "; echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 128, $this->source); })()), "deposit", [], "any", false, false, false, 128), 2, ",", "."), "html", null, true); echo " € "; } // line 130 echo "
"; // line 135 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 135, $this->source); })()), "description", [], "any", false, false, false, 135))) { // line 136 echo "
"; // line 138 echo twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 138, $this->source); })()), "description", [], "any", false, false, false, 138); echo "
"; } // line 141 echo "
"; // line 147 echo "
"; // line 150 echo twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 150, $this->source); })()), "equipment", [], "any", false, false, false, 150); echo "
"; // line 157 echo "

Saisons

"; // line 162 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 162, $this->source); })()), "prices", [], "any", false, false, false, 162))) { // line 163 echo " "; // line 176 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 176, $this->source); })()), "prices", [], "any", false, false, false, 176)); foreach ($context['_seq'] as $context["_key"] => $context["price"]) { // line 177 echo " "; if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["price"], "season", [], "any", false, false, false, 177))) { // line 178 echo " "; } // line 210 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['price'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 211 echo "
Name Beginn Ende Mindestbelegung Preis pro Nacht Service-Gebühr Kaution
"; // line 181 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["price"], "season", [], "any", false, false, false, 181), "name", [], "any", false, false, false, 181), "html", null, true); echo " env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["price"], "season", [], "any", false, false, false, 185), "fromDate", [], "any", false, false, false, 185), "n-Y"), "html", null, true); echo "\"> "; // line 186 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["price"], "season", [], "any", false, false, false, 186), "fromDate", [], "any", false, false, false, 186)), "html", null, true); echo " env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["price"], "season", [], "any", false, false, false, 190), "toDate", [], "any", false, false, false, 190), "n-Y"), "html", null, true); echo "\"> "; // line 191 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["price"], "season", [], "any", false, false, false, 191), "toDate", [], "any", false, false, false, 191)), "html", null, true); echo " "; // line 195 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["price"], "season", [], "any", false, false, false, 195), "minimumStay", [], "any", false, false, false, 195), "html", null, true); echo " "; echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["price"], "season", [], "any", false, false, false, 195), "minimumStay", [], "any", false, false, false, 195) < 2)) ? ("Nacht") : ("Nächte")); echo " "; // line 198 echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["price"], "perNight", [], "any", false, false, false, 198), 2, ",", "."), "html", null, true); echo " € "; // line 201 echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["price"], "flatPrice", [], "any", false, false, false, 201), 2, ",", "."), "html", null, true); echo " € "; // line 204 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 204, $this->source); })()), "deposit", [], "any", false, false, false, 204))) { // line 205 echo " "; echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 205, $this->source); })()), "deposit", [], "any", false, false, false, 205), 2, ",", "."), "html", null, true); echo " € "; } // line 207 echo "
"; } else { // line 214 echo " Momentan sind für dieses Programm keine Termine verfügbar. "; } // line 216 echo "

Buchung

Bitte klicken Sie einen Anreisetermin (grüne Zahl), um zur Buchungsmaske zu gelagen.

"; // line 222 $this->loadTemplate("default/pages/cms/calendarLodgingProgram.html.twig", "default/pages/cms/fewoTravelProgram.html.twig", 222)->display($context); // line 223 echo "
"; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 56 public function block_travel_lodging_program_tab_bar($context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "travel_lodging_program_tab_bar")); // line 57 echo "
"; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } public function getTemplateName() { return "default/pages/cms/fewoTravelProgram.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 475 => 57, 468 => 56, 455 => 223, 453 => 222, 445 => 216, 441 => 214, 436 => 211, 430 => 210, 425 => 207, 419 => 205, 417 => 204, 411 => 201, 405 => 198, 397 => 195, 390 => 191, 386 => 190, 379 => 186, 375 => 185, 368 => 181, 363 => 178, 360 => 177, 356 => 176, 341 => 163, 339 => 162, 332 => 157, 325 => 150, 320 => 147, 315 => 141, 309 => 138, 305 => 136, 303 => 135, 296 => 130, 290 => 128, 288 => 127, 284 => 125, 278 => 123, 276 => 122, 272 => 120, 266 => 118, 264 => 117, 258 => 114, 254 => 112, 248 => 110, 246 => 109, 242 => 108, 236 => 105, 214 => 85, 209 => 79, 207 => 56, 204 => 55, 187 => 37, 169 => 33, 165 => 32, 158 => 31, 141 => 30, 136 => 27, 115 => 25, 98 => 24, 91 => 19, 86 => 14, 80 => 10, 73 => 9, 62 => 7, 60 => 6, 53 => 5, 37 => 3,); } public function getSourceContext() { return new Source("{#{% extends 'admin.html.twig' %}#} {# @var fewo_lodging \\AppBundle\\Entity\\FewoLodging #} {% extends get_base_template() %} {% block stylesheets %} {# TODO Move to custom.css #} {% endblock stylesheets %} {% block body %}

{{ fewo_lodging.name }}

{# ********* SLIDER ********* #}
    {% for lodging_image in slider_imgs %}
  1. {% endfor %}
{% for lodging_image in slider_imgs %}
{{ lodging_image.fileName }}
{% endfor %}
Previous Next
{# ********* TAB BAR ********* #} {% block travel_lodging_program_tab_bar %}
{% endblock travel_lodging_program_tab_bar %}
{# ********* BESCHREIBUNG ********* #}

Allgemeines

Typ Adresse PLZ Ort Max. Personenanzahl Kaution
{{ fewo_lodging.type }} {{ fewo_lodging.adress1 }} {% if fewo_lodging.adress2 is not empty %} {{ fewo_lodging.adress2 }} {% endif %} {{ fewo_lodging.zipCode }} {% if fewo_lodging.city is not empty %} {{ fewo_lodging.city }} {% endif %} {% if fewo_lodging.maximumPersons is not empty %} {{ fewo_lodging.maximumPersons }} {% endif %} {% if fewo_lodging.deposit is not empty %} {{ fewo_lodging.deposit|number_format(2, ',', '.') }} € {% endif %}
{% if fewo_lodging.description is not empty %}
{{ fewo_lodging.description|raw }}
{% endif %}
{# ********* AUSSTATTUNG ********* #}
{{ fewo_lodging.equipment|raw }}
{# ********* TERMINE UND PREISE ********* #}

Saisons

{% if fewo_lodging.prices is not empty %} {% for price in fewo_lodging.prices %} {% if price.season is not empty %} {% endif %} {% endfor %}
Name Beginn Ende Mindestbelegung Preis pro Nacht Service-Gebühr Kaution
{{ price.season.name }} {{ price.season.fromDate|date }} {{ price.season.toDate|date }} {{ price.season.minimumStay }} {{ price.season.minimumStay < 2 ? 'Nacht' : 'Nächte' }} {{ price.perNight|number_format(2, ',', '.') }} € {{ price.flatPrice|number_format(2, ',', '.') }} € {% if fewo_lodging.deposit is not empty %} {{ fewo_lodging.deposit|number_format(2, ',', '.') }} € {% endif %}
{% else %} Momentan sind für dieses Programm keine Termine verfügbar. {% endif %}

Buchung

Bitte klicken Sie einen Anreisetermin (grüne Zahl), um zur Buchungsmaske zu gelagen.

{% include 'default/pages/cms/calendarLodgingProgram.html.twig' %}
{% endblock body %}", "default/pages/cms/fewoTravelProgram.html.twig", "/Users/kadmin/Websites/sterntours-3/app/Resources/views/default/pages/cms/fewoTravelProgram.html.twig"); } }