var/cache/dev/twig/31/314176348e6230a3362e9e15faab0f9b3f32b74009ce115fce3e00a8413f6bf1.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\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. /* @VisualMediaProject/Project/index.html.twig */
  14. class __TwigTemplate_fd12eab3c4798d3e2fff5de62417eb264f9466d18198845f28326090167b6a32 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@VisualMediaProject/Project/index.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@VisualMediaProject/Project/index.html.twig"));
  38.         $this->parent $this->loadTemplate("Layout/base.html.twig""@VisualMediaProject/Project/index.html.twig"1);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  42.         
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  44.     }
  45.     // line 3
  46.     public function block_main($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  53.         // line 4
  54.         echo "    ";
  55.         $this->loadTemplate("@VisualMediaVisual/Visual/pagevisual.html.twig""@VisualMediaProject/Project/index.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"falsefalsefalse4)]));
  56.         // line 5
  57.         echo "
  58.     <section class=\"project-items section\">
  59.         <div class=\"projecten-stripes\"></div>
  60.         <div class=\"breadcrumb\">
  61.             <div class=\"container\">
  62.                 <div class=\"row\">
  63.                     <div class=\"col-12\">
  64.                         ";
  65.         // line 14
  66.         $this->loadTemplate("@VisualMediaBreadcrumb/Breadcrumb/breadcrumb.html.twig""@VisualMediaProject/Project/index.html.twig"14)->display($context);
  67.         // line 15
  68.         echo "                    </div>
  69.                 </div>
  70.             </div>
  71.         </div>
  72.         <div class=\"container\">
  73.             <div class=\"project-list\">
  74.                 <div class=\"row\">
  75.                     ";
  76.         // line 22
  77.         $context['_parent'] = $context;
  78.         $context['_seq'] = twig_ensure_traversable((isset($context["projects"]) || array_key_exists("projects"$context) ? $context["projects"] : (function () { throw new RuntimeError('Variable "projects" does not exist.'22$this->source); })()));
  79.         $context['loop'] = [
  80.           'parent' => $context['_parent'],
  81.           'index0' => 0,
  82.           'index'  => 1,
  83.           'first'  => true,
  84.         ];
  85.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  86.             $length count($context['_seq']);
  87.             $context['loop']['revindex0'] = $length 1;
  88.             $context['loop']['revindex'] = $length;
  89.             $context['loop']['length'] = $length;
  90.             $context['loop']['last'] = === $length;
  91.         }
  92.         foreach ($context['_seq'] as $context["_key"] => $context["project"]) {
  93.             // line 23
  94.             echo "                        ";
  95.             $this->loadTemplate("Layout/Include/project-card.html.twig""@VisualMediaProject/Project/index.html.twig"23)->display(twig_to_array(["project" => $context["project"], "first" => twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse23)]));
  96.             // line 24
  97.             echo "                    ";
  98.             ++$context['loop']['index0'];
  99.             ++$context['loop']['index'];
  100.             $context['loop']['first'] = false;
  101.             if (isset($context['loop']['length'])) {
  102.                 --$context['loop']['revindex0'];
  103.                 --$context['loop']['revindex'];
  104.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  105.             }
  106.         }
  107.         $_parent $context['_parent'];
  108.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['project'], $context['_parent'], $context['loop']);
  109.         $context array_intersect_key($context$_parent) + $_parent;
  110.         // line 25
  111.         echo "                </div>
  112.             </div>
  113.         </div>
  114.     </section>
  115. ";
  116.         
  117.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  118.         
  119.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  120.     }
  121.     public function getTemplateName()
  122.     {
  123.         return "@VisualMediaProject/Project/index.html.twig";
  124.     }
  125.     public function isTraitable()
  126.     {
  127.         return false;
  128.     }
  129.     public function getDebugInfo()
  130.     {
  131.         return array (  127 => 25,  113 => 24,  110 => 23,  93 => 22,  84 => 15,  82 => 14,  71 => 5,  68 => 4,  58 => 3,  35 => 1,);
  132.     }
  133.     public function getSourceContext()
  134.     {
  135.         return new Source("{% extends 'Layout/base.html.twig' %}
  136. {% block main %}
  137.     {% include '@VisualMediaVisual/Visual/pagevisual.html.twig' with { visuals: page.visuals } %}
  138.     <section class=\"project-items section\">
  139.         <div class=\"projecten-stripes\"></div>
  140.         <div class=\"breadcrumb\">
  141.             <div class=\"container\">
  142.                 <div class=\"row\">
  143.                     <div class=\"col-12\">
  144.                         {% include '@VisualMediaBreadcrumb/Breadcrumb/breadcrumb.html.twig' %}
  145.                     </div>
  146.                 </div>
  147.             </div>
  148.         </div>
  149.         <div class=\"container\">
  150.             <div class=\"project-list\">
  151.                 <div class=\"row\">
  152.                     {% for project in projects %}
  153.                         {% include 'Layout/Include/project-card.html.twig' with {project: project, first: loop.first} only %}
  154.                     {% endfor %}
  155.                 </div>
  156.             </div>
  157.         </div>
  158.     </section>
  159. {% endblock %}
  160. ""@VisualMediaProject/Project/index.html.twig""/var/www/vhosts/localhost/html/templates/VisualMediaProjectBundle/views/Project/index.html.twig");
  161.     }
  162. }