var/cache/dev/twig/52/52e4577528f73881cea20d195370c2e0.php line 55

  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. /* Default/videos.html.twig */
  14. class __TwigTemplate_767ca1771826daefd9217a4b3df1ee78 extends 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.             'content' => [$this'block_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 4
  29.         return "Default/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""Default/videos.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""Default/videos.html.twig"));
  38.         // line 1
  39.         $context["title"] = "Vidéos";
  40.         // line 2
  41.         $context["menu"] = "articles";
  42.         // line 3
  43.         $macros["macros"] = $this->macros["macros"] = $this->loadTemplate("Default/macros.html.twig""Default/videos.html.twig"3)->unwrap();
  44.         // line 4
  45.         $this->parent $this->loadTemplate("Default/base.html.twig""Default/videos.html.twig"4);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 6
  53.     public function block_content($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  60.         // line 7
  61.         echo "<div class='bg-white ";
  62.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("hz-50 vt-50-in"), "html"nulltrue);
  63.         echo " ";
  64.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("bottom-20-in"), "html"nulltrue);
  65.         echo " '>
  66. \t<div class='w100 articles ";
  67.         // line 8
  68.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()(""), "html"nulltrue);
  69.         echo " ";
  70.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()(""), "html"nulltrue);
  71.         echo "'>
  72. \t\t<div class='w100 ";
  73.         // line 9
  74.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("gpadding flex row space wrap"), "html"nulltrue);
  75.         echo " ";
  76.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("hz-20-in top-30"), "html"nulltrue);
  77.         echo "'>
  78. \t\t\t";
  79.         // line 10
  80.         $context['_parent'] = $context;
  81.         $context['_seq'] = twig_ensure_traversable((isset($context["list"]) || array_key_exists("list"$context) ? $context["list"] : (function () { throw new RuntimeError('Variable "list" does not exist.'10$this->source); })()));
  82.         foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
  83.             // line 11
  84.             echo "\t\t\t";
  85.             echo twig_call_macro($macros["macros"], "macro_video", [$context["o"]], 11$context$this->getSourceContext());
  86.             echo "
  87. \t\t\t";
  88.         }
  89.         $_parent $context['_parent'];
  90.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
  91.         $context array_intersect_key($context$_parent) + $_parent;
  92.         // line 13
  93.         echo "            ";
  94.         if (($this->env->getFunction('isDesktop')->getCallable()() && (twig_length_filter($this->env, (isset($context["list"]) || array_key_exists("list"$context) ? $context["list"] : (function () { throw new RuntimeError('Variable "list" does not exist.'13$this->source); })())) % 3))) {
  95.             // line 14
  96.             echo "            ";
  97.             $context['_parent'] = $context;
  98.             $context['_seq'] = twig_ensure_traversable(range(1, (- (twig_length_filter($this->env, (isset($context["list"]) || array_key_exists("list"$context) ? $context["list"] : (function () { throw new RuntimeError('Variable "list" does not exist.'14$this->source); })())) % 3))));
  99.             foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
  100.                 // line 15
  101.                 echo "            <i class=\"third-20\"></i>
  102.             ";
  103.             }
  104.             $_parent $context['_parent'];
  105.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
  106.             $context array_intersect_key($context$_parent) + $_parent;
  107.             // line 17
  108.             echo "            ";
  109.         }
  110.         // line 18
  111.         echo "\t\t</div>
  112. \t</div>
  113.     <div class='";
  114.         // line 20
  115.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()(""), "html"nulltrue);
  116.         echo " ";
  117.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("vt-20-in"), "html"nulltrue);
  118.         echo "'>
  119.     ";
  120.         // line 21
  121.         $this->loadTemplate("Default/counter.html.twig""Default/videos.html.twig"21)->display(twig_array_merge($context, ["expanded" => true]));
  122.         // line 22
  123.         echo "    </div>
  124. </div>
  125. ";
  126.         
  127.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  128.         
  129.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  130.     }
  131.     public function getTemplateName()
  132.     {
  133.         return "Default/videos.html.twig";
  134.     }
  135.     public function isTraitable()
  136.     {
  137.         return false;
  138.     }
  139.     public function getDebugInfo()
  140.     {
  141.         return array (  137 => 22,  135 => 21,  129 => 20,  125 => 18,  122 => 17,  115 => 15,  110 => 14,  107 => 13,  98 => 11,  94 => 10,  88 => 9,  82 => 8,  75 => 7,  65 => 6,  54 => 4,  52 => 3,  50 => 2,  48 => 1,  35 => 4,);
  142.     }
  143.     public function getSourceContext()
  144.     {
  145.         return new Source("{% set title = 'Vidéos' %}
  146. {% set menu = 'articles' %}
  147. {% import \"Default/macros.html.twig\" as macros %}
  148. {% extends 'Default/base.html.twig' %}
  149. {% block content %}
  150. <div class='bg-white {{desktop(\"hz-50 vt-50-in\")}} {{mobile(\"bottom-20-in\")}} '>
  151. \t<div class='w100 articles {{desktop(\"\")}} {{mobile(\"\")}}'>
  152. \t\t<div class='w100 {{desktop(\"gpadding flex row space wrap\")}} {{mobile(\"hz-20-in top-30\")}}'>
  153. \t\t\t{% for o in list %}
  154. \t\t\t{{macros.video(o)}}
  155. \t\t\t{% endfor %}
  156.             {% if isDesktop() and (list|length % 3) %}
  157.             {% for o in 1..(3 - list|length % 3) %}
  158.             <i class=\"third-20\"></i>
  159.             {% endfor %}
  160.             {% endif %}
  161. \t\t</div>
  162. \t</div>
  163.     <div class='{{desktop(\"\")}} {{mobile(\"vt-20-in\")}}'>
  164.     {% include (\"Default/counter.html.twig\") with {expanded:true} %}
  165.     </div>
  166. </div>
  167. {% endblock %}
  168. ""Default/videos.html.twig""/home/olasoftnka/asin/templates/Default/videos.html.twig");
  169.     }
  170. }