var/cache/dev/twig/d1/d12365a0a8fa4d458b36dcad7b6c75e9.php line 38

  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/resources.html.twig */
  14. class __TwigTemplate_c4f6668864a5a0d55d2c68614b8d0ef0 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/resources.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/resources.html.twig"));
  38.         // line 1
  39.         $context["title"] = (((isset($context["cat"]) || array_key_exists("cat"$context) ? $context["cat"] : (function () { throw new RuntimeError('Variable "cat" does not exist.'1$this->source); })())) ? (twig_get_attribute($this->env$this->source, (isset($context["cat"]) || array_key_exists("cat"$context) ? $context["cat"] : (function () { throw new RuntimeError('Variable "cat" does not exist.'1$this->source); })()), "label", [], "any"falsefalsefalse1)) : ("Documents"));
  40.         // line 2
  41.         $context["menu"] = "articles";
  42.         // line 3
  43.         $macros["macros"] = $this->macros["macros"] = $this->loadTemplate("Default/macros.html.twig""Default/resources.html.twig"3)->unwrap();
  44.         // line 4
  45.         $this->parent $this->loadTemplate("Default/base.html.twig""Default/resources.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"), "html"nulltrue);
  63.         echo " ";
  64.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()(""), "html"nulltrue);
  65.         echo " '>
  66.    <div class='gpadding flex row space wrap ";
  67.         // line 8
  68.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("top-40"), "html"nulltrue);
  69.         echo " ";
  70.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("top-20"), "html"nulltrue);
  71.         echo "'>
  72.         ";
  73.         // line 9
  74.         $context['_parent'] = $context;
  75.         $context['_seq'] = twig_ensure_traversable(range(19));
  76.         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  77.             // line 10
  78.             echo "        ";
  79.             $context['_parent'] = $context;
  80.             $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); })()));
  81.             foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
  82.                 // line 11
  83.                 echo "        ";
  84.                 echo twig_call_macro($macros["macros"], "macro_doc", [$context["o"]], 11$context$this->getSourceContext());
  85.                 echo "
  86.         ";
  87.             }
  88.             $_parent $context['_parent'];
  89.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
  90.             $context array_intersect_key($context$_parent) + $_parent;
  91.             // line 13
  92.             echo "        ";
  93.         }
  94.         $_parent $context['_parent'];
  95.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  96.         $context array_intersect_key($context$_parent) + $_parent;
  97.         // line 14
  98.         echo "    </div>
  99.     <div class='gpadding ";
  100.         // line 15
  101.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("bottom-50-in"), "html"nulltrue);
  102.         echo "'>
  103.     ";
  104.         // line 16
  105.         $this->loadTemplate("Default/counter.html.twig""Default/resources.html.twig"16)->display(twig_array_merge($context, ["expanded" => true]));
  106.         // line 17
  107.         echo "    </div>
  108. </div>
  109. ";
  110.         
  111.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  112.         
  113.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  114.     }
  115.     public function getTemplateName()
  116.     {
  117.         return "Default/resources.html.twig";
  118.     }
  119.     public function isTraitable()
  120.     {
  121.         return false;
  122.     }
  123.     public function getDebugInfo()
  124.     {
  125.         return array (  121 => 17,  119 => 16,  115 => 15,  112 => 14,  106 => 13,  97 => 11,  92 => 10,  88 => 9,  82 => 8,  75 => 7,  65 => 6,  54 => 4,  52 => 3,  50 => 2,  48 => 1,  35 => 4,);
  126.     }
  127.     public function getSourceContext()
  128.     {
  129.         return new Source("{% set title = cat ? cat.label : 'Documents' %}
  130. {% set menu = 'articles' %}
  131. {% import \"Default/macros.html.twig\" as macros %}
  132. {% extends 'Default/base.html.twig' %}
  133. {% block content %}
  134. <div class='bg-white {{desktop(\"hz-50\")}} {{mobile(\"\")}} '>
  135.    <div class='gpadding flex row space wrap {{desktop(\"top-40\")}} {{mobile(\"top-20\")}}'>
  136.         {% for i in 1..9 %}
  137.         {% for o in list %}
  138.         {{ macros.doc(o) }}
  139.         {% endfor %}
  140.         {% endfor %}
  141.     </div>
  142.     <div class='gpadding {{desktop(\"bottom-50-in\")}}'>
  143.     {% include (\"Default/counter.html.twig\") with {expanded:true} %}
  144.     </div>
  145. </div>
  146. {% endblock %}
  147. ""Default/resources.html.twig""/home/olasoftnka/asin/templates/Default/resources.html.twig");
  148.     }
  149. }