var/cache/dev/twig/b7/b719f45383937af864de6e4a26ba11b106e331c0f730deb6144a0beeb6a8bc86.php line 41

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Markup;
  6. use Twig\Sandbox\SecurityError;
  7. use Twig\Sandbox\SecurityNotAllowedTagError;
  8. use Twig\Sandbox\SecurityNotAllowedFilterError;
  9. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  10. use Twig\Source;
  11. use Twig\Template;
  12. /* page/index.html.twig */
  13. class __TwigTemplate_8a0bc7dae1d32bd14f2732d7bf760ecf406b70bbb409bfa201fe1f409e2f93b2 extends \Twig\Template
  14. {
  15.     public function __construct(Environment $env)
  16.     {
  17.         parent::__construct($env);
  18.         $this->blocks = [
  19.             'main' => [$this'block_main'],
  20.         ];
  21.     }
  22.     protected function doGetParent(array $context)
  23.     {
  24.         // line 1
  25.         return "layout/base.html.twig";
  26.     }
  27.     protected function doDisplay(array $context, array $blocks = [])
  28.     {
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""page/index.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""page/index.html.twig"));
  33.         $this->parent $this->loadTemplate("layout/base.html.twig""page/index.html.twig"1);
  34.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  35.         
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  37.         
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  39.     }
  40.     // line 3
  41.     public function block_main($context, array $blocks = [])
  42.     {
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  47.         // line 4
  48.         echo "    ";
  49.         $this->loadTemplate("page/index.html.twig""page/index.html.twig"4"583788031")->display($context);
  50.         
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  52.         
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  54.     }
  55.     public function getTemplateName()
  56.     {
  57.         return "page/index.html.twig";
  58.     }
  59.     public function isTraitable()
  60.     {
  61.         return false;
  62.     }
  63.     public function getDebugInfo()
  64.     {
  65.         return array (  60 => 4,  51 => 3,  29 => 1,);
  66.     }
  67.     /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  68.     public function getSource()
  69.     {
  70.         @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.'E_USER_DEPRECATED);
  71.         return $this->getSourceContext()->getCode();
  72.     }
  73.     public function getSourceContext()
  74.     {
  75.         return new Source("{% extends 'layout/base.html.twig' %}
  76. {% block main %}
  77.     {% embed settings.layoutMain %}
  78.         {% block content %}
  79.             <article class=\"staticPage\">
  80.                 {% include 'component/banner/h1.html.twig' %}
  81.                 {{ direct_edit(page) | raw }}
  82.                 <h1 class=\"staticPage__title\">{{ page.getHeading() }}</h1>
  83.                 {% if page.getImage or page.getAnnotation() %}
  84.                     <div class=\"staticPage__top\">
  85.                     {% if page.getImage %}
  86.                         <img class=\"staticPage__img\" src=\"{{ page.getImageUri }}\" alt=\"{{ page.getHeading }}\">
  87.                     {% endif %}
  88.                     {% if page.getAnnotation() %}
  89.                         <div class=\"staticPage__annotation\">
  90.                             {{ page.getAnnotation() | raw }}
  91.                         </div>
  92.                     {% endif %}
  93.                     </div>
  94.                 {% endif %}
  95.                 {% if page.getDescription() %}
  96.                     <div class=\"staticPage__desc\">
  97.                         {{ page.getDescription() | raw }}
  98.                     </div>
  99.                 {% endif %}
  100.                 {% set photos = page.getImages() %}
  101.                 {% if photos %}
  102.                     <div class=\"staticPage__images\">
  103.                         {% include 'component/shared/photos.html.twig' with {'photos': photos, 'heading': page.getHeadingPhotos, 'photosCount': page.getPhotosCount()} %}
  104.                     </div>
  105.                 {% endif %}
  106.                 {# DS 2022-04-08 V083446 převzato z purusmedy #}
  107.                 {% if files %}
  108.                     <div class=\"staticPage__files\">
  109.                         {% include 'component/shared/files.html.twig' with {'files': files, 'heading': page.getHeadingFiles()} %}
  110.                     </div>
  111.                 {% endif %}
  112.                 {% if page.isShowSubpagesList %}
  113.                     {% include 'component/pages/subpages.html.twig' with  {'subpages':page.getConfirmedSubpages} %}
  114.                 {% endif %}
  115.                 {% for key, formInstance in formInstances %}
  116.                     <div class=\"staticPage__form form\" id=\"Form_{{ formInstance.getId() }}\">
  117.                     {% include formInstance.getTemplateFile() with { form: formViews[key], instance: formInstance } %}
  118.                     </div>
  119.                 {% endfor %}
  120.                 {% if maps %}
  121.                     <div class=\"staticPage__googleMap\">
  122.                         {% include 'component/shared/google_maps.html.twig' with { maps: maps } %}
  123.                     </div>
  124.                 {% endif %}
  125.                 {% if qSearch %}
  126.                     <div class=\"staticPage__qSearch\">
  127.                         {% include 'component/pages/q_search.html.twig' with { qSearch: qSearch } %}
  128.                     </div>
  129.                 {% endif %}
  130.                 {# DS 2022-04-08 V083446 převzato z purusmedy #}
  131.                 {% if newsletterForm is not null %}
  132.                     {% include 'component/form/newsletterExtended/newsletterExtended.html.twig' %}
  133.                 {% endif %}
  134.             </article>
  135.         {% endblock content %}
  136.     {% endembed %}
  137. {% endblock main %}
  138. ""page/index.html.twig""/home/www/vac-star-b2c15/custom/src/EshopBundle/Resources/views/page/index.html.twig");
  139.     }
  140. }
  141. /* page/index.html.twig */
  142. class __TwigTemplate_8a0bc7dae1d32bd14f2732d7bf760ecf406b70bbb409bfa201fe1f409e2f93b2___583788031 extends \Twig\Template
  143. {
  144.     public function __construct(Environment $env)
  145.     {
  146.         parent::__construct($env);
  147.         $this->blocks = [
  148.             'content' => [$this'block_content'],
  149.         ];
  150.     }
  151.     protected function doGetParent(array $context)
  152.     {
  153.         return $this->loadTemplate($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context"settings")), "layoutMain", []), "page/index.html.twig"4);
  154.     }
  155.     protected function doDisplay(array $context, array $blocks = [])
  156.     {
  157.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
  158.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""page/index.html.twig"));
  159.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
  160.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""page/index.html.twig"));
  161.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  162.         
  163.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  164.         
  165.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  166.     }
  167.     // line 5
  168.     public function block_content($context, array $blocks = [])
  169.     {
  170.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
  171.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  172.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
  173.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  174.         // line 6
  175.         echo "            <article class=\"staticPage\">
  176.                 ";
  177.         // line 7
  178.         $this->loadTemplate("component/banner/h1.html.twig""page/index.html.twig"7)->display($context);
  179.         // line 8
  180.         echo "                ";
  181.         echo $this->env->getExtension('EshopBundle\Twig\EditableExtension')->directEdit((isset($context["page"]) ? $context["page"] : $this->getContext($context"page")));
  182.         echo "
  183.                 <h1 class=\"staticPage__title\">";
  184.         // line 9
  185.         echo twig_escape_filter($this->env$this->getAttribute((isset($context["page"]) ? $context["page"] : $this->getContext($context"page")), "getHeading", [], "method"), "html"nulltrue);
  186.         echo "</h1>
  187.                 ";
  188.         // line 10
  189.         if (($this->getAttribute((isset($context["page"]) ? $context["page"] : $this->getContext($context"page")), "getImage", []) || $this->getAttribute((isset($context["page"]) ? $context["page"] : $this->getContext($context"page")), "getAnnotation", [], "method"))) {
  190.             // line 11
  191.             echo "                    <div class=\"staticPage__top\">
  192.                     ";
  193.             // line 12
  194.             if ($this->getAttribute((isset($context["page"]) ? $context["page"] : $this->getContext($context"page")), "getImage", [])) {
  195.                 // line 13
  196.                 echo "                        <img class=\"staticPage__img\" src=\"";
  197.                 echo twig_escape_filter($this->env$this->getAttribute((isset($context["page"]) ? $context["page"] : $this->getContext($context"page")), "getImageUri", []), "html"nulltrue);
  198.                 echo "\" alt=\"";
  199.                 echo twig_escape_filter($this->env$this->getAttribute((isset($context["page"]) ? $context["page"] : $this->getContext($context"page")), "getHeading", []), "html"nulltrue);
  200.                 echo "\">
  201.                     ";
  202.             }
  203.             // line 15
  204.             echo "
  205.                     ";
  206.             // line 16
  207.             if ($this->getAttribute((isset($context["page"]) ? $context["page"] : $this->getContext($context"page")), "getAnnotation", [], "method")) {
  208.                 // line 17
  209.                 echo "                        <div class=\"staticPage__annotation\">
  210.                             ";
  211.                 // line 18
  212.                 echo $this->getAttribute((isset($context["page"]) ? $context["page"] : $this->getContext($context"page")), "getAnnotation", [], "method");
  213.                 echo "
  214.                         </div>
  215.                     ";
  216.             }
  217.             // line 21
  218.             echo "                    </div>
  219.                 ";
  220.         }
  221.         // line 23
  222.         echo "
  223.                 ";
  224.         // line 24
  225.         if ($this->getAttribute((isset($context["page"]) ? $context["page"] : $this->getContext($context"page")), "getDescription", [], "method")) {
  226.             // line 25
  227.             echo "                    <div class=\"staticPage__desc\">
  228.                         ";
  229.             // line 26
  230.             echo $this->getAttribute((isset($context["page"]) ? $context["page"] : $this->getContext($context"page")), "getDescription", [], "method");
  231.             echo "
  232.                     </div>
  233.                 ";
  234.         }
  235.         // line 29
  236.         echo "
  237.                 ";
  238.         // line 30
  239.         $context["photos"] = $this->getAttribute((isset($context["page"]) ? $context["page"] : $this->getContext($context"page")), "getImages", [], "method");
  240.         // line 31
  241.         echo "                ";
  242.         if ((isset($context["photos"]) ? $context["photos"] : $this->getContext($context"photos"))) {
  243.             // line 32
  244.             echo "                    <div class=\"staticPage__images\">
  245.                         ";
  246.             // line 33
  247.             $this->loadTemplate("component/shared/photos.html.twig""page/index.html.twig"33)->display(twig_array_merge($context, ["photos" => (isset($context["photos"]) ? $context["photos"] : $this->getContext($context"photos")), "heading" => $this->getAttribute((isset($context["page"]) ? $context["page"] : $this->getContext($context"page")), "getHeadingPhotos", []), "photosCount" => $this->getAttribute((isset($context["page"]) ? $context["page"] : $this->getContext($context"page")), "getPhotosCount", [], "method")]));
  248.             // line 34
  249.             echo "                    </div>
  250.                 ";
  251.         }
  252.         // line 36
  253.         echo "
  254.                 ";
  255.         // line 38
  256.         echo "                ";
  257.         if ((isset($context["files"]) ? $context["files"] : $this->getContext($context"files"))) {
  258.             // line 39
  259.             echo "                    <div class=\"staticPage__files\">
  260.                         ";
  261.             // line 40
  262.             $this->loadTemplate("component/shared/files.html.twig""page/index.html.twig"40)->display(twig_array_merge($context, ["files" => (isset($context["files"]) ? $context["files"] : $this->getContext($context"files")), "heading" => $this->getAttribute((isset($context["page"]) ? $context["page"] : $this->getContext($context"page")), "getHeadingFiles", [], "method")]));
  263.             // line 41
  264.             echo "                    </div>
  265.                 ";
  266.         }
  267.         // line 43
  268.         echo "
  269.                 ";
  270.         // line 44
  271.         if ($this->getAttribute((isset($context["page"]) ? $context["page"] : $this->getContext($context"page")), "isShowSubpagesList", [])) {
  272.             // line 45
  273.             echo "                    ";
  274.             $this->loadTemplate("component/pages/subpages.html.twig""page/index.html.twig"45)->display(twig_array_merge($context, ["subpages" => $this->getAttribute((isset($context["page"]) ? $context["page"] : $this->getContext($context"page")), "getConfirmedSubpages", [])]));
  275.             // line 46
  276.             echo "                ";
  277.         }
  278.         // line 47
  279.         echo "
  280.                 ";
  281.         // line 48
  282.         $context['_parent'] = $context;
  283.         $context['_seq'] = twig_ensure_traversable((isset($context["formInstances"]) ? $context["formInstances"] : $this->getContext($context"formInstances")));
  284.         $context['loop'] = [
  285.           'parent' => $context['_parent'],
  286.           'index0' => 0,
  287.           'index'  => 1,
  288.           'first'  => true,
  289.         ];
  290.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  291.             $length count($context['_seq']);
  292.             $context['loop']['revindex0'] = $length 1;
  293.             $context['loop']['revindex'] = $length;
  294.             $context['loop']['length'] = $length;
  295.             $context['loop']['last'] = === $length;
  296.         }
  297.         foreach ($context['_seq'] as $context["key"] => $context["formInstance"]) {
  298.             // line 49
  299.             echo "                    <div class=\"staticPage__form form\" id=\"Form_";
  300.             echo twig_escape_filter($this->env$this->getAttribute($context["formInstance"], "getId", [], "method"), "html"nulltrue);
  301.             echo "\">
  302.                     ";
  303.             // line 50
  304.             $this->loadTemplate($this->getAttribute($context["formInstance"], "getTemplateFile", [], "method"), "page/index.html.twig"50)->display(twig_array_merge($context, ["form" => $this->getAttribute((isset($context["formViews"]) ? $context["formViews"] : $this->getContext($context"formViews")), $context["key"], [], "array"), "instance" => $context["formInstance"]]));
  305.             // line 51
  306.             echo "                    </div>
  307.                 ";
  308.             ++$context['loop']['index0'];
  309.             ++$context['loop']['index'];
  310.             $context['loop']['first'] = false;
  311.             if (isset($context['loop']['length'])) {
  312.                 --$context['loop']['revindex0'];
  313.                 --$context['loop']['revindex'];
  314.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  315.             }
  316.         }
  317.         $_parent $context['_parent'];
  318.         unset($context['_seq'], $context['_iterated'], $context['key'], $context['formInstance'], $context['_parent'], $context['loop']);
  319.         $context array_intersect_key($context$_parent) + $_parent;
  320.         // line 53
  321.         echo "
  322.                 ";
  323.         // line 54
  324.         if ((isset($context["maps"]) ? $context["maps"] : $this->getContext($context"maps"))) {
  325.             // line 55
  326.             echo "                    <div class=\"staticPage__googleMap\">
  327.                         ";
  328.             // line 56
  329.             $this->loadTemplate("component/shared/google_maps.html.twig""page/index.html.twig"56)->display(twig_array_merge($context, ["maps" => (isset($context["maps"]) ? $context["maps"] : $this->getContext($context"maps"))]));
  330.             // line 57
  331.             echo "                    </div>
  332.                 ";
  333.         }
  334.         // line 59
  335.         echo "
  336.                 ";
  337.         // line 60
  338.         if ((isset($context["qSearch"]) ? $context["qSearch"] : $this->getContext($context"qSearch"))) {
  339.             // line 61
  340.             echo "                    <div class=\"staticPage__qSearch\">
  341.                         ";
  342.             // line 62
  343.             $this->loadTemplate("component/pages/q_search.html.twig""page/index.html.twig"62)->display(twig_array_merge($context, ["qSearch" => (isset($context["qSearch"]) ? $context["qSearch"] : $this->getContext($context"qSearch"))]));
  344.             // line 63
  345.             echo "                    </div>
  346.                 ";
  347.         }
  348.         // line 65
  349.         echo "
  350.                 ";
  351.         // line 67
  352.         echo "                ";
  353.         if ( !(null === (isset($context["newsletterForm"]) ? $context["newsletterForm"] : $this->getContext($context"newsletterForm")))) {
  354.             // line 68
  355.             echo "                    ";
  356.             $this->loadTemplate("component/form/newsletterExtended/newsletterExtended.html.twig""page/index.html.twig"68)->display($context);
  357.             // line 69
  358.             echo "                ";
  359.         }
  360.         // line 70
  361.         echo "
  362.             </article>
  363.         ";
  364.         
  365.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  366.         
  367.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  368.     }
  369.     public function getTemplateName()
  370.     {
  371.         return "page/index.html.twig";
  372.     }
  373.     public function isTraitable()
  374.     {
  375.         return false;
  376.     }
  377.     public function getDebugInfo()
  378.     {
  379.         return array (  404 => 70,  401 => 69,  398 => 68,  395 => 67,  392 => 65,  388 => 63,  386 => 62,  383 => 61,  381 => 60,  378 => 59,  374 => 57,  372 => 56,  369 => 55,  367 => 54,  364 => 53,  349 => 51,  347 => 50,  342 => 49,  325 => 48,  322 => 47,  319 => 46,  316 => 45,  314 => 44,  311 => 43,  307 => 41,  305 => 40,  302 => 39,  299 => 38,  296 => 36,  292 => 34,  290 => 33,  287 => 32,  284 => 31,  282 => 30,  279 => 29,  273 => 26,  270 => 25,  268 => 24,  265 => 23,  261 => 21,  255 => 18,  252 => 17,  250 => 16,  247 => 15,  239 => 13,  237 => 12,  234 => 11,  232 => 10,  228 => 9,  223 => 8,  221 => 7,  218 => 6,  209 => 5,  60 => 4,  51 => 3,  29 => 1,);
  380.     }
  381.     /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  382.     public function getSource()
  383.     {
  384.         @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.'E_USER_DEPRECATED);
  385.         return $this->getSourceContext()->getCode();
  386.     }
  387.     public function getSourceContext()
  388.     {
  389.         return new Source("{% extends 'layout/base.html.twig' %}
  390. {% block main %}
  391.     {% embed settings.layoutMain %}
  392.         {% block content %}
  393.             <article class=\"staticPage\">
  394.                 {% include 'component/banner/h1.html.twig' %}
  395.                 {{ direct_edit(page) | raw }}
  396.                 <h1 class=\"staticPage__title\">{{ page.getHeading() }}</h1>
  397.                 {% if page.getImage or page.getAnnotation() %}
  398.                     <div class=\"staticPage__top\">
  399.                     {% if page.getImage %}
  400.                         <img class=\"staticPage__img\" src=\"{{ page.getImageUri }}\" alt=\"{{ page.getHeading }}\">
  401.                     {% endif %}
  402.                     {% if page.getAnnotation() %}
  403.                         <div class=\"staticPage__annotation\">
  404.                             {{ page.getAnnotation() | raw }}
  405.                         </div>
  406.                     {% endif %}
  407.                     </div>
  408.                 {% endif %}
  409.                 {% if page.getDescription() %}
  410.                     <div class=\"staticPage__desc\">
  411.                         {{ page.getDescription() | raw }}
  412.                     </div>
  413.                 {% endif %}
  414.                 {% set photos = page.getImages() %}
  415.                 {% if photos %}
  416.                     <div class=\"staticPage__images\">
  417.                         {% include 'component/shared/photos.html.twig' with {'photos': photos, 'heading': page.getHeadingPhotos, 'photosCount': page.getPhotosCount()} %}
  418.                     </div>
  419.                 {% endif %}
  420.                 {# DS 2022-04-08 V083446 převzato z purusmedy #}
  421.                 {% if files %}
  422.                     <div class=\"staticPage__files\">
  423.                         {% include 'component/shared/files.html.twig' with {'files': files, 'heading': page.getHeadingFiles()} %}
  424.                     </div>
  425.                 {% endif %}
  426.                 {% if page.isShowSubpagesList %}
  427.                     {% include 'component/pages/subpages.html.twig' with  {'subpages':page.getConfirmedSubpages} %}
  428.                 {% endif %}
  429.                 {% for key, formInstance in formInstances %}
  430.                     <div class=\"staticPage__form form\" id=\"Form_{{ formInstance.getId() }}\">
  431.                     {% include formInstance.getTemplateFile() with { form: formViews[key], instance: formInstance } %}
  432.                     </div>
  433.                 {% endfor %}
  434.                 {% if maps %}
  435.                     <div class=\"staticPage__googleMap\">
  436.                         {% include 'component/shared/google_maps.html.twig' with { maps: maps } %}
  437.                     </div>
  438.                 {% endif %}
  439.                 {% if qSearch %}
  440.                     <div class=\"staticPage__qSearch\">
  441.                         {% include 'component/pages/q_search.html.twig' with { qSearch: qSearch } %}
  442.                     </div>
  443.                 {% endif %}
  444.                 {# DS 2022-04-08 V083446 převzato z purusmedy #}
  445.                 {% if newsletterForm is not null %}
  446.                     {% include 'component/form/newsletterExtended/newsletterExtended.html.twig' %}
  447.                 {% endif %}
  448.             </article>
  449.         {% endblock content %}
  450.     {% endembed %}
  451. {% endblock main %}
  452. ""page/index.html.twig""/home/www/vac-star-b2c15/custom/src/EshopBundle/Resources/views/page/index.html.twig");
  453.     }
  454. }