var/cache/dev/twig/f0/f09e7d880f6182b986d386ab56819195.php line 38

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. /* Blocks/FiftySplit/Frontend/renderFrontend.html.twig */
  16. class __TwigTemplate_53db8f287afb52afdc9878f825145d29 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->parent false;
  28.         $this->blocks = [
  29.         ];
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = []): iterable
  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""Blocks/FiftySplit/Frontend/renderFrontend.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""Blocks/FiftySplit/Frontend/renderFrontend.html.twig"));
  38.         // line 1
  39.         yield "<section class=\"content block block-margin block-padded\">
  40.     <div class=\"container\">
  41.         <div class=\"row\">
  42.             <div class=\"col-lg-6 mb-3 mb-lg-0 text-left\">
  43.                 ";
  44.         // line 5
  45.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'5$this->source); })()), "contentLeftType", [], "any"falsefalsefalse5) == "text")) {
  46.             // line 6
  47.             yield "                    <div class=\"bg-secondary p-3 round-corners h-100\" id=\"intro\">
  48.                         ";
  49.             // line 7
  50.             yield CoreExtension::getAttribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'7$this->source); })()), "contentLeft", [], "any"falsefalsefalse7);
  51.             yield "
  52.                     </div>
  53.                 ";
  54.         } else {
  55.             // line 10
  56.             yield "                    <img src=\"";
  57.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'10$this->source); })()), "imageLeft", [], "any"falsefalsefalse10), "html"nulltrue);
  58.             yield "\" alt=\"";
  59.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'10$this->source); })()), "altTextLeft", [], "any"falsefalsefalse10), "html"nulltrue);
  60.             yield "\" class=\"img-fluid round-corners\"/>
  61.                 ";
  62.         }
  63.         // line 12
  64.         yield "            </div>
  65.             <div class=\"col-lg-6\">
  66.                 ";
  67.         // line 14
  68.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'14$this->source); })()), "contentRightType", [], "any"falsefalsefalse14) == "text")) {
  69.             // line 15
  70.             yield "                    <div class=\"bg-secondary p-3 round-corners h-100\" id=\"intro\">
  71.                         ";
  72.             // line 16
  73.             yield CoreExtension::getAttribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'16$this->source); })()), "contentRight", [], "any"falsefalsefalse16);
  74.             yield "
  75.                     </div>
  76.                 ";
  77.         } else {
  78.             // line 19
  79.             yield "                    <img src=\"";
  80.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'19$this->source); })()), "imageRight", [], "any"falsefalsefalse19), "html"nulltrue);
  81.             yield "\" alt=\"";
  82.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'19$this->source); })()), "altTextRight", [], "any"falsefalsefalse19), "html"nulltrue);
  83.             yield "\" class=\"img-fluid round-corners\"/>
  84.                 ";
  85.         }
  86.         // line 21
  87.         yield "            </div>
  88.         </div>
  89.     </div>
  90. </section>";
  91.         
  92.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  93.         
  94.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  95.         yield from [];
  96.     }
  97.     /**
  98.      * @codeCoverageIgnore
  99.      */
  100.     public function getTemplateName(): string
  101.     {
  102.         return "Blocks/FiftySplit/Frontend/renderFrontend.html.twig";
  103.     }
  104.     /**
  105.      * @codeCoverageIgnore
  106.      */
  107.     public function isTraitable(): bool
  108.     {
  109.         return false;
  110.     }
  111.     /**
  112.      * @codeCoverageIgnore
  113.      */
  114.     public function getDebugInfo(): array
  115.     {
  116.         return array (  96 => 21,  88 => 19,  82 => 16,  79 => 15,  77 => 14,  73 => 12,  65 => 10,  59 => 7,  56 => 6,  54 => 5,  48 => 1,);
  117.     }
  118.     public function getSourceContext(): Source
  119.     {
  120.         return new Source("<section class=\"content block block-margin block-padded\">
  121.     <div class=\"container\">
  122.         <div class=\"row\">
  123.             <div class=\"col-lg-6 mb-3 mb-lg-0 text-left\">
  124.                 {% if data.contentLeftType == \"text\" %}
  125.                     <div class=\"bg-secondary p-3 round-corners h-100\" id=\"intro\">
  126.                         {{ data.contentLeft|raw }}
  127.                     </div>
  128.                 {% else %}
  129.                     <img src=\"{{ data.imageLeft }}\" alt=\"{{ data.altTextLeft }}\" class=\"img-fluid round-corners\"/>
  130.                 {% endif %}
  131.             </div>
  132.             <div class=\"col-lg-6\">
  133.                 {% if data.contentRightType == \"text\" %}
  134.                     <div class=\"bg-secondary p-3 round-corners h-100\" id=\"intro\">
  135.                         {{ data.contentRight|raw }}
  136.                     </div>
  137.                 {% else %}
  138.                     <img src=\"{{ data.imageRight }}\" alt=\"{{ data.altTextRight}}\" class=\"img-fluid round-corners\"/>
  139.                 {% endif %}
  140.             </div>
  141.         </div>
  142.     </div>
  143. </section>""Blocks/FiftySplit/Frontend/renderFrontend.html.twig""/home/cwd-mm-apollo-website/htdocs/apollo-website.cwd-mm.com/templates/Blocks/FiftySplit/Frontend/renderFrontend.html.twig");
  144.     }
  145. }