var/cache/dev/twig/e0/e041a71b477c4e0da16d2c96aa4d4888.php line 48

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* VisualMediaPageBundle/views/Page/view.html.twig */
  14. class __TwigTemplate_b8221482eee51476003ad64a43543c75 extends \Twig\Template
  15. {
  16. private $source;
  17. private $macros = [];
  18. public function __construct(Environment $env)
  19. {
  20. parent::__construct($env);
  21. $this->source = $this->getSourceContext();
  22. $this->blocks = [
  23. 'main' => [$this, 'block_main'],
  24. ];
  25. }
  26. protected function doGetParent(array $context)
  27. {
  28. // line 1
  29. return "Layout/base.html.twig";
  30. }
  31. protected function doDisplay(array $context, array $blocks = [])
  32. {
  33. $macros = $this->macros;
  34. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "VisualMediaPageBundle/views/Page/view.html.twig"));
  36. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "VisualMediaPageBundle/views/Page/view.html.twig"));
  38. $this->parent = $this->loadTemplate("Layout/base.html.twig", "VisualMediaPageBundle/views/Page/view.html.twig", 1);
  39. $this->parent->display($context, array_merge($this->blocks, $blocks));
  40. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  41. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  42. }
  43. // line 3
  44. public function block_main($context, array $blocks = [])
  45. {
  46. $macros = $this->macros;
  47. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  48. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
  49. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  50. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
  51. // line 4
  52. echo " ";
  53. $this->loadTemplate("@VisualMediaVisual/Visual/visual.html.twig", "VisualMediaPageBundle/views/Page/view.html.twig", 4)->display(twig_array_merge($context, ["visuals" => twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 4, $this->source); })()), "visuals", [], "any", false, false, false, 4)]));
  54. // line 5
  55. echo "
  56. <div class=\"container\">
  57. <div class=\"row\">
  58. <div class=\"col-12\">
  59. ";
  60. // line 11
  61. echo "
  62. <div class=\"my-3\">
  63. ";
  64. // line 13
  65. echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 13, $this->source); })()), "breadcrumb", [], "any", false, false, false, 13), "html", null, true);
  66. echo "
  67. </div>
  68. ";
  69. // line 19
  70. echo "
  71. </div>
  72. </div>
  73. </div>
  74. <section class=\"page-content\">
  75. <div class=\"container\">
  76. <div class=\"row\">
  77. <div class=\"col-12\">
  78. <h1>";
  79. // line 28
  80. echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 28, $this->source); })()), "title", [], "any", false, false, false, 28), "html", null, true);
  81. echo "</h1>
  82. ";
  83. // line 29
  84. echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigContentScan']->scan(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 29, $this->source); })()), "htmlContent", [], "any", false, false, false, 29)), "html", null, true);
  85. echo "
  86. <section class=\"standard-alinea alinea1\">
  87. <div class=\"container\">
  88. ";
  89. // line 33
  90. echo $this->extensions['VisualMedia\BlockTemplateBundle\Twig\TwigScanBlock']->blockScan((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 33, $this->source); })()), "alinea1", "@VisualMediaBlockTemplate/Blocks/contentblock.html.twig");
  91. echo "
  92. </div>
  93. </section>
  94. <section class=\"standard-alinea alinea2\">
  95. <div class=\"container\">
  96. ";
  97. // line 38
  98. echo $this->extensions['VisualMedia\BlockTemplateBundle\Twig\TwigScanBlock']->blockScan((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 38, $this->source); })()), "alinea2", "@VisualMediaBlockTemplate/Blocks/contentblock.html.twig");
  99. echo "
  100. </div>
  101. </section>
  102. <section class=\"standard-alinea alinea3\">
  103. <div class=\"container\">
  104. ";
  105. // line 43
  106. echo $this->extensions['VisualMedia\BlockTemplateBundle\Twig\TwigScanBlock']->blockScan((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 43, $this->source); })()), "alinea3", "@VisualMediaBlockTemplate/Blocks/contentblock.html.twig");
  107. echo "
  108. </div>
  109. </section>
  110. <section class=\"standard-alinea alinea4\">
  111. <div class=\"container\">
  112. ";
  113. // line 48
  114. echo $this->extensions['VisualMedia\BlockTemplateBundle\Twig\TwigScanBlock']->blockScan((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 48, $this->source); })()), "alinea4", "@VisualMediaBlockTemplate/Blocks/contentblock.html.twig");
  115. echo "
  116. </div>
  117. </section>
  118. <section class=\"standard-alinea alinea5\">
  119. <div class=\"container\">
  120. ";
  121. // line 53
  122. echo $this->extensions['VisualMedia\BlockTemplateBundle\Twig\TwigScanBlock']->blockScan((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 53, $this->source); })()), "alinea5", "@VisualMediaBlockTemplate/Blocks/contentblock.html.twig");
  123. echo "
  124. </div>
  125. </section>
  126. </div>
  127. </div>
  128. </div>
  129. </section>
  130. ";
  131. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  132. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  133. }
  134. public function getTemplateName()
  135. {
  136. return "VisualMediaPageBundle/views/Page/view.html.twig";
  137. }
  138. public function isTraitable()
  139. {
  140. return false;
  141. }
  142. public function getDebugInfo()
  143. {
  144. return array ( 142 => 53, 134 => 48, 126 => 43, 118 => 38, 110 => 33, 103 => 29, 99 => 28, 88 => 19, 82 => 13, 78 => 11, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
  145. }
  146. public function getSourceContext()
  147. {
  148. return new Source("{% extends 'Layout/base.html.twig' %}
  149. {% block main %}
  150. {% include '@VisualMediaVisual/Visual/visual.html.twig' with { visuals: page.visuals } %}
  151. <div class=\"container\">
  152. <div class=\"row\">
  153. <div class=\"col-12\">
  154. {# {% include '@VisualMediaBreadcrumb/Breadcrumb/breadcrumb.html.twig' with { options: { object: page } } %} #}
  155. <div class=\"my-3\">
  156. {{ page.breadcrumb }}
  157. </div>
  158. {# <div class=\"my-3\">
  159. {{ dump(page.getBreadcrumb()) }}
  160. </div> #}
  161. </div>
  162. </div>
  163. </div>
  164. <section class=\"page-content\">
  165. <div class=\"container\">
  166. <div class=\"row\">
  167. <div class=\"col-12\">
  168. <h1>{{ page.title }}</h1>
  169. {{ page.htmlContent|scan }}
  170. <section class=\"standard-alinea alinea1\">
  171. <div class=\"container\">
  172. {{blockscan(page,'alinea1','@VisualMediaBlockTemplate/Blocks/contentblock.html.twig')|raw}}
  173. </div>
  174. </section>
  175. <section class=\"standard-alinea alinea2\">
  176. <div class=\"container\">
  177. {{blockscan(page,'alinea2','@VisualMediaBlockTemplate/Blocks/contentblock.html.twig')|raw}}
  178. </div>
  179. </section>
  180. <section class=\"standard-alinea alinea3\">
  181. <div class=\"container\">
  182. {{blockscan(page,'alinea3','@VisualMediaBlockTemplate/Blocks/contentblock.html.twig')|raw}}
  183. </div>
  184. </section>
  185. <section class=\"standard-alinea alinea4\">
  186. <div class=\"container\">
  187. {{blockscan(page,'alinea4','@VisualMediaBlockTemplate/Blocks/contentblock.html.twig')|raw}}
  188. </div>
  189. </section>
  190. <section class=\"standard-alinea alinea5\">
  191. <div class=\"container\">
  192. {{blockscan(page,'alinea5','@VisualMediaBlockTemplate/Blocks/contentblock.html.twig')|raw}}
  193. </div>
  194. </section>
  195. </div>
  196. </div>
  197. </div>
  198. </section>
  199. {% endblock %}
  200. ", "VisualMediaPageBundle/views/Page/view.html.twig", "/var/www/public_html/templates/VisualMediaPageBundle/views/Page/view.html.twig");
  201. }
  202. }