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

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"2127758626")->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.                 {% set files = page.getFiles() %}
  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___2127758626 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 37
  256.         $context["files"] = $this->getAttribute((isset($context["page"]) ? $context["page"] : $this->getContext($context"page")), "getFiles", [], "method");
  257.         // line 38
  258.         echo "                ";
  259.         if ((isset($context["files"]) ? $context["files"] : $this->getContext($context"files"))) {
  260.             // line 39
  261.             echo "                    <div class=\"staticPage__files\">
  262.                         ";
  263.             // line 40
  264.             $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")]));
  265.             // line 41
  266.             echo "                    </div>
  267.                 ";
  268.         }
  269.         // line 43
  270.         echo "
  271.                 ";
  272.         // line 44
  273.         if ($this->getAttribute((isset($context["page"]) ? $context["page"] : $this->getContext($context"page")), "isShowSubpagesList", [])) {
  274.             // line 45
  275.             echo "                    ";
  276.             $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", [])]));
  277.             // line 46
  278.             echo "                ";
  279.         }
  280.         // line 47
  281.         echo "
  282.                 ";
  283.         // line 48
  284.         $context['_parent'] = $context;
  285.         $context['_seq'] = twig_ensure_traversable((isset($context["formInstances"]) ? $context["formInstances"] : $this->getContext($context"formInstances")));
  286.         $context['loop'] = [
  287.           'parent' => $context['_parent'],
  288.           'index0' => 0,
  289.           'index'  => 1,
  290.           'first'  => true,
  291.         ];
  292.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  293.             $length count($context['_seq']);
  294.             $context['loop']['revindex0'] = $length 1;
  295.             $context['loop']['revindex'] = $length;
  296.             $context['loop']['length'] = $length;
  297.             $context['loop']['last'] = === $length;
  298.         }
  299.         foreach ($context['_seq'] as $context["key"] => $context["formInstance"]) {
  300.             // line 49
  301.             echo "                    <div class=\"staticPage__form form\" id=\"Form_";
  302.             echo twig_escape_filter($this->env$this->getAttribute($context["formInstance"], "getId", [], "method"), "html"nulltrue);
  303.             echo "\">
  304.                     ";
  305.             // line 50
  306.             $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"]]));
  307.             // line 51
  308.             echo "                    </div>
  309.                 ";
  310.             ++$context['loop']['index0'];
  311.             ++$context['loop']['index'];
  312.             $context['loop']['first'] = false;
  313.             if (isset($context['loop']['length'])) {
  314.                 --$context['loop']['revindex0'];
  315.                 --$context['loop']['revindex'];
  316.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  317.             }
  318.         }
  319.         $_parent $context['_parent'];
  320.         unset($context['_seq'], $context['_iterated'], $context['key'], $context['formInstance'], $context['_parent'], $context['loop']);
  321.         $context array_intersect_key($context$_parent) + $_parent;
  322.         // line 53
  323.         echo "
  324.                 ";
  325.         // line 54
  326.         if ((isset($context["maps"]) ? $context["maps"] : $this->getContext($context"maps"))) {
  327.             // line 55
  328.             echo "                    <div class=\"staticPage__googleMap\">
  329.                         ";
  330.             // line 56
  331.             $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"))]));
  332.             // line 57
  333.             echo "                    </div>
  334.                 ";
  335.         }
  336.         // line 59
  337.         echo "
  338.                 ";
  339.         // line 60
  340.         if ((isset($context["qSearch"]) ? $context["qSearch"] : $this->getContext($context"qSearch"))) {
  341.             // line 61
  342.             echo "                    <div class=\"staticPage__qSearch\">
  343.                         ";
  344.             // line 62
  345.             $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"))]));
  346.             // line 63
  347.             echo "                    </div>
  348.                 ";
  349.         }
  350.         // line 65
  351.         echo "
  352.                 ";
  353.         // line 67
  354.         echo "                ";
  355.         if ( !(null === (isset($context["newsletterForm"]) ? $context["newsletterForm"] : $this->getContext($context"newsletterForm")))) {
  356.             // line 68
  357.             echo "                    ";
  358.             $this->loadTemplate("component/form/newsletterExtended/newsletterExtended.html.twig""page/index.html.twig"68)->display($context);
  359.             // line 69
  360.             echo "                ";
  361.         }
  362.         // line 70
  363.         echo "
  364.             </article>
  365.         ";
  366.         
  367.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  368.         
  369.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  370.     }
  371.     public function getTemplateName()
  372.     {
  373.         return "page/index.html.twig";
  374.     }
  375.     public function isTraitable()
  376.     {
  377.         return false;
  378.     }
  379.     public function getDebugInfo()
  380.     {
  381.         return array (  406 => 70,  403 => 69,  400 => 68,  397 => 67,  394 => 65,  390 => 63,  388 => 62,  385 => 61,  383 => 60,  380 => 59,  376 => 57,  374 => 56,  371 => 55,  369 => 54,  366 => 53,  351 => 51,  349 => 50,  344 => 49,  327 => 48,  324 => 47,  321 => 46,  318 => 45,  316 => 44,  313 => 43,  309 => 41,  307 => 40,  304 => 39,  301 => 38,  299 => 37,  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,);
  382.     }
  383.     /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  384.     public function getSource()
  385.     {
  386.         @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.'E_USER_DEPRECATED);
  387.         return $this->getSourceContext()->getCode();
  388.     }
  389.     public function getSourceContext()
  390.     {
  391.         return new Source("{% extends 'layout/base.html.twig' %}
  392. {% block main %}
  393.     {% embed settings.layoutMain %}
  394.         {% block content %}
  395.             <article class=\"staticPage\">
  396.                 {% include 'component/banner/h1.html.twig' %}
  397.                 {{ direct_edit(page) | raw }}
  398.                 <h1 class=\"staticPage__title\">{{ page.getHeading() }}</h1>
  399.                 {% if page.getImage or page.getAnnotation() %}
  400.                     <div class=\"staticPage__top\">
  401.                     {% if page.getImage %}
  402.                         <img class=\"staticPage__img\" src=\"{{ page.getImageUri }}\" alt=\"{{ page.getHeading }}\">
  403.                     {% endif %}
  404.                     {% if page.getAnnotation() %}
  405.                         <div class=\"staticPage__annotation\">
  406.                             {{ page.getAnnotation() | raw }}
  407.                         </div>
  408.                     {% endif %}
  409.                     </div>
  410.                 {% endif %}
  411.                 {% if page.getDescription() %}
  412.                     <div class=\"staticPage__desc\">
  413.                         {{ page.getDescription() | raw }}
  414.                     </div>
  415.                 {% endif %}
  416.                 {% set photos = page.getImages() %}
  417.                 {% if photos %}
  418.                     <div class=\"staticPage__images\">
  419.                         {% include 'component/shared/photos.html.twig' with {'photos': photos, 'heading': page.getHeadingPhotos, 'photosCount': page.getPhotosCount()} %}
  420.                     </div>
  421.                 {% endif %}
  422.                 {% set files = page.getFiles() %}
  423.                 {% if files %}
  424.                     <div class=\"staticPage__files\">
  425.                         {% include 'component/shared/files.html.twig' with {'files': files, 'heading': page.getHeadingFiles()} %}
  426.                     </div>
  427.                 {% endif %}
  428.                 {% if page.isShowSubpagesList %}
  429.                     {% include 'component/pages/subpages.html.twig' with  {'subpages':page.getConfirmedSubpages} %}
  430.                 {% endif %}
  431.                 {% for key, formInstance in formInstances %}
  432.                     <div class=\"staticPage__form form\" id=\"Form_{{ formInstance.getId() }}\">
  433.                     {% include formInstance.getTemplateFile() with { form: formViews[key], instance: formInstance } %}
  434.                     </div>
  435.                 {% endfor %}
  436.                 {% if maps %}
  437.                     <div class=\"staticPage__googleMap\">
  438.                         {% include 'component/shared/google_maps.html.twig' with { maps: maps } %}
  439.                     </div>
  440.                 {% endif %}
  441.                 {% if qSearch %}
  442.                     <div class=\"staticPage__qSearch\">
  443.                         {% include 'component/pages/q_search.html.twig' with { qSearch: qSearch } %}
  444.                     </div>
  445.                 {% endif %}
  446.                 {# DS 2022-04-08 V083446 převzato z purusmedy #}
  447.                 {% if newsletterForm is not null %}
  448.                     {% include 'component/form/newsletterExtended/newsletterExtended.html.twig' %}
  449.                 {% endif %}
  450.             </article>
  451.         {% endblock content %}
  452.     {% endembed %}
  453. {% endblock main %}
  454. ""page/index.html.twig""/home/www/vac-star-b2c15/custom/src/EshopBundle/Resources/views/page/index.html.twig");
  455.     }
  456. }