var/cache/dev/twig/40/4020c5378e01e5257ed36b8c3e73498abde06c9093f11a7b1fdc965419d660ca.php line 59

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. /* Default/events.html.twig */
  14. class __TwigTemplate_3ad3fe011e867076e56e11dcc5268bf7519f0ec636d49a96bb2fdcafbc4bbd9a 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 7
  29.         return "Default/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""Default/events.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""Default/events.html.twig"));
  38.         // line 1
  39.         $context["title"] = "Colloques";
  40.         // line 2
  41.         $context["description"] = "Agenda des colloques, séminaires, conférences et autres sur les thématiques des professions judiciaires";
  42.         // line 3
  43.         $context["menu"] = "conferences";
  44.         // line 4
  45.         $context["banner"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/conferences.jpg");
  46.         // line 5
  47.         $macros["macros"] = $this->macros["macros"] = $this->loadTemplate("Default/macros.html.twig""Default/events.html.twig"5)->unwrap();
  48.         // line 7
  49.         $this->parent $this->loadTemplate("Default/base.html.twig""Default/events.html.twig"7);
  50.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  51.         
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  53.         
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  55.     }
  56.     // line 9
  57.     public function block_content($context, array $blocks = [])
  58.     {
  59.         $macros $this->macros;
  60.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  61.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  62.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  63.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  64.         // line 10
  65.         echo "<div class='bg-white gpadding ";
  66.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('desktop')->getCallable(), ["vt-60-in"]), "html"nulltrue);
  67.         echo " ";
  68.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('mobile')->getCallable(), ["vt-30-in"]), "html"nulltrue);
  69.         echo " '>
  70.     ";
  71.         // line 12
  72.         $this->loadTemplate("Default/filter.html.twig""Default/events.html.twig"12)->display(twig_array_merge($context, ["placeholder" => "Rechercher un évènement ici...""target" => ".event""search" => true]));
  73.         // line 13
  74.         echo "
  75.     <div class='list ";
  76.         // line 14
  77.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('desktop')->getCallable(), ["flex row space wrap"]), "html"nulltrue);
  78.         echo " ";
  79.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('mobile')->getCallable(), [""]), "html"nulltrue);
  80.         echo "'>
  81.         ";
  82.         // line 15
  83.         $context['_parent'] = $context;
  84.         $context['_seq'] = twig_ensure_traversable((isset($context["list"]) || array_key_exists("list"$context) ? $context["list"] : (function () { throw new RuntimeError('Variable "list" does not exist.'15$this->source); })()));
  85.         foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
  86.             // line 16
  87.             echo "        ";
  88.             echo twig_call_macro($macros["macros"], "macro_event", [$context["o"]], 16$context$this->getSourceContext());
  89.             echo "
  90.         ";
  91.         }
  92.         $_parent $context['_parent'];
  93.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
  94.         $context array_intersect_key($context$_parent) + $_parent;
  95.         // line 18
  96.         echo "    </div>
  97.     <div class='";
  98.         // line 20
  99.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('desktop')->getCallable(), [""]), "html"nulltrue);
  100.         echo "'>
  101.     ";
  102.         // line 21
  103.         $this->loadTemplate("Default/counter.html.twig""Default/events.html.twig"21)->display(twig_array_merge($context, ["expanded" => true]));
  104.         // line 22
  105.         echo "    </div>
  106. </div>
  107. ";
  108.         
  109.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  110.         
  111.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  112.     }
  113.     public function getTemplateName()
  114.     {
  115.         return "Default/events.html.twig";
  116.     }
  117.     public function isTraitable()
  118.     {
  119.         return false;
  120.     }
  121.     public function getDebugInfo()
  122.     {
  123.         return array (  121 => 22,  119 => 21,  115 => 20,  111 => 18,  102 => 16,  98 => 15,  92 => 14,  89 => 13,  87 => 12,  79 => 10,  69 => 9,  58 => 7,  56 => 5,  54 => 4,  52 => 3,  50 => 2,  48 => 1,  35 => 7,);
  124.     }
  125.     public function getSourceContext()
  126.     {
  127.         return new Source("{% set title = 'Colloques' %}
  128. {% set description = \"Agenda des colloques, séminaires, conférences et autres sur les thématiques des professions judiciaires\" %}
  129. {% set menu = 'conferences' %}
  130. {% set banner = asset('images/conferences.jpg') %}
  131. {% import \"Default/macros.html.twig\" as macros %}
  132. {% extends 'Default/base.html.twig' %}
  133. {% block content %}
  134. <div class='bg-white gpadding {{desktop(\"vt-60-in\")}} {{mobile(\"vt-30-in\")}} '>
  135.     {% include(\"Default/filter.html.twig\") with {placeholder: \"Rechercher un évènement ici...\", target:\".event\", search:true} %}
  136.     <div class='list {{desktop(\"flex row space wrap\")}} {{mobile(\"\")}}'>
  137.         {% for o in list %}
  138.         {{macros.event(o)}}
  139.         {% endfor %}
  140.     </div>
  141.     <div class='{{desktop(\"\")}}'>
  142.     {% include (\"Default/counter.html.twig\") with {expanded:true} %}
  143.     </div>
  144. </div>
  145. {% endblock %}
  146. ""Default/events.html.twig""/home/adminroot/www/templates/Default/events.html.twig");
  147.     }
  148. }