source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } 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/components/pageLodgingBox.html.twig")); // line 2 echo "
"; // line 7 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 7, $this->source); })()), "page", [], "any", false, false, false, 7), "boxStar", [], "any", false, false, false, 7))) { // line 8 echo "
"; echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 8, $this->source); })()), "page", [], "any", false, false, false, 8), "boxStar", [], "any", false, false, false, 8); echo "
"; } // line 10 echo " "; if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 10, $this->source); })()), "page", [], "any", false, false, false, 10), "travelProgram", [], "any", false, false, false, 10)) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 10, $this->source); })()), "page", [], "any", false, false, false, 10), "travelProgram", [], "any", false, false, false, 10), "lowestPrice", [], "any", false, false, false, 10) > 0))) { // line 11 echo "
ab "; echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 11, $this->source); })()), "page", [], "any", false, false, false, 11), "travelProgram", [], "any", false, false, false, 11), "lowestPrice", [], "any", false, false, false, 11)), "html", null, true); echo " € p.P.
"; } // line 13 echo " "; if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 13, $this->source); })()), "page", [], "any", false, false, false, 13), "boxDiscount", [], "any", false, false, false, 13))) { // line 14 echo "
"; echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 14, $this->source); })()), "page", [], "any", false, false, false, 14), "boxDiscount", [], "any", false, false, false, 14); echo "
"; } // line 16 echo "
"; // line 18 $this->loadTemplate("default/components/pageBoxImage.html.twig", "default/components/pageLodgingBox.html.twig", 18)->display(twig_array_merge($context, ["page" => twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 18, $this->source); })()), "page", [], "any", false, false, false, 18)])); // line 19 echo "
"; // line 22 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 22, $this->source); })()), "page", [], "any", false, false, false, 22), "title", [], "any", false, false, false, 22), "html", null, true); echo "

"; // line 23 echo twig_escape_filter($this->env, (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["lodging"] ?? null), "page", [], "any", false, true, false, 23), "boxBody", [], "any", true, true, false, 23) && !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["lodging"] ?? null), "page", [], "any", false, true, false, 23), "boxBody", [], "any", false, false, false, 23)))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["lodging"] ?? null), "page", [], "any", false, true, false, 23), "boxBody", [], "any", false, false, false, 23)) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 23, $this->source); })()), "page", [], "any", false, false, false, 23), "description", [], "any", false, false, false, 23))), "html", null, true); echo "

env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 25, $this->source); })()), "page", [], "any", false, false, false, 25), "urlPath", [], "any", false, false, false, 25), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 25, $this->source); })()), "page", [], "any", false, false, false, 25), "title", [], "any", false, false, false, 25), "html", null, true); echo "\"> "; // line 26 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 26, $this->source); })()), "page", [], "any", false, false, false, 26), "title", [], "any", false, false, false, 26), "html", null, true); echo "
"; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } public function getTemplateName() { return "default/components/pageLodgingBox.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 99 => 26, 93 => 25, 88 => 23, 84 => 22, 79 => 19, 77 => 18, 73 => 16, 67 => 14, 64 => 13, 58 => 11, 55 => 10, 49 => 8, 47 => 7, 40 => 2,); } public function getSourceContext() { return new Source("{# @var lodging \\AppBundle\\Entity\\FewoLodging #}
{% if lodging.page.boxStar is not empty %}
{{ lodging.page.boxStar|raw }}
{% endif %} {% if lodging.page.travelProgram is not empty and lodging.page.travelProgram.lowestPrice > 0 %}
ab {{ lodging.page.travelProgram.lowestPrice|number_format }} € p.P.
{% endif %} {% if lodging.page.boxDiscount is not empty %}
{{ lodging.page.boxDiscount|raw }}
{% endif %}
{% include 'default/components/pageBoxImage.html.twig' with {page: lodging.page} %}
{{ lodging.page.title }}

{{ lodging.page.boxBody ?? lodging.page.description }}

{{ lodging.page.title }}
", "default/components/pageLodgingBox.html.twig", "/Users/kadmin/Websites/sterntours-3/app/Resources/views/default/components/pageLodgingBox.html.twig"); } }