var/cache/dev/twig/80/80410e96617d3eb85f139e6a25a24f51.php line 39

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. /* front/theme1/hub_actualites.html.twig */
  14. class __TwigTemplate_c203fcfb5fe92c7ef8af24be955ba279 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.             'stylesheets' => [$this'block_stylesheets'],
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return $this->loadTemplate((("front/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1$this->source); })()), "request", [], "any"falsefalsefalse1), "server", [], "any"falsefalsefalse1), "get", [=> "APP_THEME"], "method"falsefalsefalse1)) . "/base.html.twig"), "front/theme1/hub_actualites.html.twig"1);
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/theme1/hub_actualites.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/theme1/hub_actualites.html.twig"));
  39.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  42.         
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  44.     }
  45.     // line 3
  46.     public function block_stylesheets($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  53.         // line 4
  54.         echo "      ";
  55.         $this->displayParentBlock("stylesheets"$context$blocks);
  56.         echo "
  57. ";
  58.         
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  60.         
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  62.     }
  63.     // line 8
  64.     public function block_body($context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  71.         // line 9
  72.         echo "         <div class=\"page_cms page_activite pt-5\">
  73.                 <div class=\"breadcrumb-style-default\">
  74.                     <div class=\"container\">
  75.                         <div class=\"row\">
  76.                             <div class=\"col-lg-12\">
  77.                                 <div class=\"inner text-center\">
  78.                                     ";
  79.         // line 15
  80.         if ((array_key_exists("breadcrumb"$context) &&  !twig_test_empty((isset($context["breadcrumb"]) || array_key_exists("breadcrumb"$context) ? $context["breadcrumb"] : (function () { throw new RuntimeError('Variable "breadcrumb" does not exist.'15$this->source); })())))) {
  81.             // line 16
  82.             echo "                                        ";
  83.             echo twig_include($this->env$context, (("front/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'16$this->source); })()), "request", [], "any"falsefalsefalse16), "server", [], "any"falsefalsefalse16), "get", [=> "APP_THEME"], "method"falsefalsefalse16)) . "/partials/breadcrumb.html.twig"));
  84.             echo "
  85.                                         <h1 class=\"page-title\">";
  86.             // line 17
  87.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_last($this->env, (isset($context["breadcrumb"]) || array_key_exists("breadcrumb"$context) ? $context["breadcrumb"] : (function () { throw new RuntimeError('Variable "breadcrumb" does not exist.'17$this->source); })())), "name", [], "any"falsefalsefalse17), "html"nulltrue);
  88.             echo "</h1>
  89.                                     ";
  90.         }
  91.         // line 19
  92.         echo "                                </div>
  93.                             </div>
  94.                         </div>
  95.                     </div>
  96.                 </div>
  97.                 <div class=\"container-fluid wrapper\">
  98.                     <div class=\"row\">
  99.                         <div class=\"col-sm-12 text-center\">
  100.                             <h2>Toutes nos actualités </h2>
  101.                             <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. 
  102.                                 Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, 
  103.                                 when an unknown printer took a galley of type and scrambled it to make a type specimen book. 
  104.                                 It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
  105.                         </div>
  106.                     </div>
  107.                     ";
  108.         // line 37
  109.         if ((array_key_exists("actualites"$context) &&  !twig_test_empty((isset($context["actualites"]) || array_key_exists("actualites"$context) ? $context["actualites"] : (function () { throw new RuntimeError('Variable "actualites" does not exist.'37$this->source); })())))) {
  110.             // line 38
  111.             echo "                        <div class=\"row\">
  112.                             <div class=\"col-sm-12 col-md-12\">
  113.                                 <div class=\"panel panel-success mb-4\">
  114.                                     <div class=\"panel-heading\"><span class=\"panel-title\"> Actualités</span></div>
  115.                                     <div class=\"panel-body\">
  116.                                         <ul>   
  117.                                             ";
  118.             // line 44
  119.             $context['_parent'] = $context;
  120.             $context['_seq'] = twig_ensure_traversable((isset($context["actualites"]) || array_key_exists("actualites"$context) ? $context["actualites"] : (function () { throw new RuntimeError('Variable "actualites" does not exist.'44$this->source); })()));
  121.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  122.                 // line 45
  123.                 echo "                                                <li>
  124.                                                     <a href=\"";
  125.                 // line 46
  126.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env$this->source$context["item"], "slug", [], "any"falsefalsefalse46)]), "html"nulltrue);
  127.                 echo "\" title=\"";
  128.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "titre", [], "any"falsefalsefalse46), "html"nulltrue);
  129.                 echo "\" target=\"_top\"> ";
  130.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "titre", [], "any"falsefalsefalse46), "html"nulltrue);
  131.                 echo "</a>
  132.                                                 </li>
  133.                                             ";
  134.             }
  135.             $_parent $context['_parent'];
  136.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  137.             $context array_intersect_key($context$_parent) + $_parent;
  138.             // line 48
  139.             echo "                                                                                                                                                        
  140.                                         </ul>  
  141.                                     </div>
  142.                                 </div>
  143.                             </div>
  144.                         </div>
  145.                     ";
  146.         }
  147.         // line 55
  148.         echo "                </div>
  149.          </div> 
  150. ";
  151.         
  152.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  153.         
  154.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  155.     }
  156.     public function getTemplateName()
  157.     {
  158.         return "front/theme1/hub_actualites.html.twig";
  159.     }
  160.     public function isTraitable()
  161.     {
  162.         return false;
  163.     }
  164.     public function getDebugInfo()
  165.     {
  166.         return array (  170 => 55,  161 => 48,  148 => 46,  145 => 45,  141 => 44,  133 => 38,  131 => 37,  111 => 19,  106 => 17,  101 => 16,  99 => 15,  91 => 9,  81 => 8,  68 => 4,  58 => 3,  36 => 1,);
  167.     }
  168.     public function getSourceContext()
  169.     {
  170.         return new Source("{% extends \"front/\"~ app.request.server.get('APP_THEME') ~\"/base.html.twig\" %}
  171. {% block stylesheets %}
  172.       {{parent()}}
  173. {% endblock %}
  174. {% block body %}
  175.          <div class=\"page_cms page_activite pt-5\">
  176.                 <div class=\"breadcrumb-style-default\">
  177.                     <div class=\"container\">
  178.                         <div class=\"row\">
  179.                             <div class=\"col-lg-12\">
  180.                                 <div class=\"inner text-center\">
  181.                                     {% if breadcrumb is defined and breadcrumb is not empty %}
  182.                                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/breadcrumb.html.twig')}}
  183.                                         <h1 class=\"page-title\">{{breadcrumb|last.name}}</h1>
  184.                                     {% endif %}
  185.                                 </div>
  186.                             </div>
  187.                         </div>
  188.                     </div>
  189.                 </div>
  190.                 <div class=\"container-fluid wrapper\">
  191.                     <div class=\"row\">
  192.                         <div class=\"col-sm-12 text-center\">
  193.                             <h2>Toutes nos actualités </h2>
  194.                             <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. 
  195.                                 Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, 
  196.                                 when an unknown printer took a galley of type and scrambled it to make a type specimen book. 
  197.                                 It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
  198.                         </div>
  199.                     </div>
  200.                     {% if actualites is defined and actualites is not empty %}
  201.                         <div class=\"row\">
  202.                             <div class=\"col-sm-12 col-md-12\">
  203.                                 <div class=\"panel panel-success mb-4\">
  204.                                     <div class=\"panel-heading\"><span class=\"panel-title\"> Actualités</span></div>
  205.                                     <div class=\"panel-body\">
  206.                                         <ul>   
  207.                                             {% for item in actualites %}
  208.                                                 <li>
  209.                                                     <a href=\"{{path('page',{slug:item.slug})}}\" title=\"{{item.titre}}\" target=\"_top\"> {{item.titre}}</a>
  210.                                                 </li>
  211.                                             {% endfor %}                                                                                                                                                        
  212.                                         </ul>  
  213.                                     </div>
  214.                                 </div>
  215.                             </div>
  216.                         </div>
  217.                     {% endif %}
  218.                 </div>
  219.          </div> 
  220. {% endblock %}
  221. ""front/theme1/hub_actualites.html.twig""/var/www/vhosts/hrz.fr/new-site.hrz.fr/templates/front/theme1/hub_actualites.html.twig");
  222.     }
  223. }