var/cache/dev/twig/27/27e0631314838e6bf60e88121232ec3c.php line 45

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* /default/content/base.html.twig */
  16. class __TwigTemplate_94a658a9080e78b306e1d6eed2c8b859 extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->blocks = [
  28. 'main_content' => [$this, 'block_main_content'],
  29. 'content_headline' => [$this, 'block_content_headline'],
  30. 'content_body' => [$this, 'block_content_body'],
  31. ];
  32. }
  33. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  34. {
  35. // line 1
  36. return "/base.html.twig";
  37. }
  38. protected function doDisplay(array $context, array $blocks = []): iterable
  39. {
  40. $macros = $this->macros;
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "/default/content/base.html.twig"));
  43. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "/default/content/base.html.twig"));
  45. $this->parent = $this->load("/base.html.twig", 1);
  46. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  47. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49. }
  50. // line 3
  51. /**
  52. * @return iterable<null|scalar|\Stringable>
  53. */
  54. public function block_main_content(array $context, array $blocks = []): iterable
  55. {
  56. $macros = $this->macros;
  57. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_content"));
  59. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_content"));
  61. // line 4
  62. yield " <div class=\"row\">
  63. <div class=\"col mx-0 px-0\">
  64. <div class=\"card\">
  65. <h1 class=\"card-header primary-color black-text h4\">
  66. ";
  67. // line 9
  68. yield from $this->unwrap()->yieldBlock('content_headline', $context, $blocks);
  69. // line 10
  70. yield " </h1>
  71. ";
  72. // line 12
  73. if (( !array_key_exists("hideSeals", $context) || !(isset($context["hideSeals"]) || array_key_exists("hideSeals", $context) ? $context["hideSeals"] : (function () { throw new RuntimeError('Variable "hideSeals" does not exist.', 12, $this->source); })()))) {
  74. // line 13
  75. yield " ";
  76. yield Twig\Extension\CoreExtension::include($this->env, $context, "/_includes/seals.html.twig");
  77. yield "
  78. ";
  79. }
  80. // line 15
  81. yield "
  82. <div class=\"content-body ";
  83. // line 16
  84. if (array_key_exists("additional_content_body_classes", $context)) {
  85. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["additional_content_body_classes"]) || array_key_exists("additional_content_body_classes", $context) ? $context["additional_content_body_classes"] : (function () { throw new RuntimeError('Variable "additional_content_body_classes" does not exist.', 16, $this->source); })()), "html", null, true);
  86. }
  87. yield "\">
  88. ";
  89. // line 18
  90. yield from $this->unwrap()->yieldBlock('content_body', $context, $blocks);
  91. // line 19
  92. yield "
  93. </div>
  94. </div>
  95. </div>
  96. </div>
  97. ";
  98. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  99. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  100. yield from [];
  101. }
  102. // line 9
  103. /**
  104. * @return iterable<null|scalar|\Stringable>
  105. */
  106. public function block_content_headline(array $context, array $blocks = []): iterable
  107. {
  108. $macros = $this->macros;
  109. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  110. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_headline"));
  111. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  112. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_headline"));
  113. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  114. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  115. yield from [];
  116. }
  117. // line 18
  118. /**
  119. * @return iterable<null|scalar|\Stringable>
  120. */
  121. public function block_content_body(array $context, array $blocks = []): iterable
  122. {
  123. $macros = $this->macros;
  124. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  125. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_body"));
  126. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  127. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_body"));
  128. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  129. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  130. yield from [];
  131. }
  132. /**
  133. * @codeCoverageIgnore
  134. */
  135. public function getTemplateName(): string
  136. {
  137. return "/default/content/base.html.twig";
  138. }
  139. /**
  140. * @codeCoverageIgnore
  141. */
  142. public function isTraitable(): bool
  143. {
  144. return false;
  145. }
  146. /**
  147. * @codeCoverageIgnore
  148. */
  149. public function getDebugInfo(): array
  150. {
  151. return array ( 150 => 18, 128 => 9, 111 => 19, 109 => 18, 102 => 16, 99 => 15, 93 => 13, 91 => 12, 87 => 10, 85 => 9, 78 => 4, 65 => 3, 42 => 1,);
  152. }
  153. public function getSourceContext(): Source
  154. {
  155. return new Source("{% extends '/base.html.twig' %}
  156. {% block main_content %}
  157. <div class=\"row\">
  158. <div class=\"col mx-0 px-0\">
  159. <div class=\"card\">
  160. <h1 class=\"card-header primary-color black-text h4\">
  161. {% block content_headline %}{% endblock %}
  162. </h1>
  163. {% if hideSeals is not defined or not hideSeals %}
  164. {{ include('/_includes/seals.html.twig') }}
  165. {% endif %}
  166. <div class=\"content-body {% if additional_content_body_classes is defined %}{{ additional_content_body_classes }}{% endif %}\">
  167. {% block content_body %}{% endblock %}
  168. </div>
  169. </div>
  170. </div>
  171. </div>
  172. {% endblock %}
  173. ", "/default/content/base.html.twig", "/workspace/backend-app/templates/default/content/base.html.twig");
  174. }
  175. }