var/cache/dev/twig/ab/abf14f1f22511696b411532cdea41d1068cee69099801a41aa05f7b8a0e05a7e.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/activites.html.twig */
  14. class __TwigTemplate_217b0da875f9482f8e70fff133bb27aafeec6a17fd60e2697625d726f94b29ad 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/activites.html.twig"1);
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/theme1/activites.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/theme1/activites.html.twig"));
  39.         $this->getParent($context)->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_stylesheets($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""stylesheets"));
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  60.         
  61.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  62.     }
  63.     // line 8
  64.     public function block_body($context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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->env, (isset($context["title_page"]) || array_key_exists("title_page"$context) ? $context["title_page"] : (function () { throw new RuntimeError('Variable "title_page" does not exist.'17$this->source); })()), "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 id=\"bloc-principal\" class=\"row\">
  99.                         <div class=\"col-sm-12 text-center\">
  100.                             ";
  101.         // line 28
  102.         if ((array_key_exists("parametreRef"$context) &&  !twig_test_empty((isset($context["parametreRef"]) || array_key_exists("parametreRef"$context) ? $context["parametreRef"] : (function () { throw new RuntimeError('Variable "parametreRef" does not exist.'28$this->source); })())))) {
  103.             // line 29
  104.             echo "                                <h2>";
  105.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["parametreRef"]) || array_key_exists("parametreRef"$context) ? $context["parametreRef"] : (function () { throw new RuntimeError('Variable "parametreRef" does not exist.'29$this->source); })()), "soustitreparamref", [], "any"falsefalsefalse29), "html"nulltrue);
  106.             echo "</h2>
  107.                                 ";
  108.             // line 30
  109.             echo twig_get_attribute($this->env$this->source, (isset($context["parametreRef"]) || array_key_exists("parametreRef"$context) ? $context["parametreRef"] : (function () { throw new RuntimeError('Variable "parametreRef" does not exist.'30$this->source); })()), "description", [], "any"falsefalsefalse30);
  110.             echo "
  111.                             ";
  112.         }
  113.         // line 32
  114.         echo "                        </div>
  115.                     </div>
  116.                     ";
  117.         // line 35
  118.         if ((array_key_exists("activites"$context) &&  !twig_test_empty((isset($context["activites"]) || array_key_exists("activites"$context) ? $context["activites"] : (function () { throw new RuntimeError('Variable "activites" does not exist.'35$this->source); })())))) {
  119.             // line 36
  120.             echo "                        <div id=\"bloc-activites\" class=\"row\">
  121.                             ";
  122.             // line 37
  123.             $context['_parent'] = $context;
  124.             $context['_seq'] = twig_ensure_traversable((isset($context["activites"]) || array_key_exists("activites"$context) ? $context["activites"] : (function () { throw new RuntimeError('Variable "activites" does not exist.'37$this->source); })()));
  125.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  126.                 // line 38
  127.                 echo "                                <div class=\"col-sm-12 col-md-6\">
  128.                                     <div class=\"panel panel-success mb-4\">
  129.                                         <div class=\"panel-heading\"><span class=\"panel-title\"> <a href=\"";
  130.                 // line 40
  131.                 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"falsefalsefalse40)]), "html"nulltrue);
  132.                 echo "\" title=\"";
  133.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "titre", [], "any"falsefalsefalse40), "html"nulltrue);
  134.                 echo "\" target=\"_top\">";
  135.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "titre", [], "any"falsefalsefalse40), "html"nulltrue);
  136.                 echo "</a></span></div>
  137.                                         <div class=\"panel-body\">
  138.                                             ";
  139.                 // line 42
  140.                 if ((twig_get_attribute($this->env$this->source$context["item"], "urls_principal", [], "any"truetruefalse42) &&  !twig_test_empty(twig_get_attribute($this->env$this->source$context["item"], "urls_principal", [], "any"falsefalsefalse42)))) {
  141.                     // line 43
  142.                     echo "                                                <ul>   
  143.                                                     ";
  144.                     // line 44
  145.                     $context['_parent'] = $context;
  146.                     $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "urls_principal", [], "any"falsefalsefalse44), function ($__v__) use ($context$macros) { $context["v"] = $__v__; return (twig_get_attribute($this->env$this->source, (isset($context["v"]) || array_key_exists("v"$context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.'44$this->source); })()), "type", [], "any"falsefalsefalse44) == "page_ref"); }));
  147.                     foreach ($context['_seq'] as $context["_key"] => $context["item_url"]) {
  148.                         // line 45
  149.                         echo "                                                        <li>
  150.                                                             <a href=\"";
  151.                         // line 46
  152.                         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_url"], "slug", [], "any"falsefalsefalse46)]), "html"nulltrue);
  153.                         echo "\" title=\"";
  154.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item_url"], "titre", [], "any"falsefalsefalse46), "html"nulltrue);
  155.                         echo "\" target=\"_top\"> ";
  156.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item_url"], "titre", [], "any"falsefalsefalse46), "html"nulltrue);
  157.                         echo "</a>
  158.                                                         </li>
  159.                                                     ";
  160.                     }
  161.                     $_parent $context['_parent'];
  162.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item_url'], $context['_parent'], $context['loop']);
  163.                     $context array_intersect_key($context$_parent) + $_parent;
  164.                     // line 48
  165.                     echo "  
  166.                                                     ";
  167.                     // line 50
  168.                     $context['_parent'] = $context;
  169.                     $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "urls_principal", [], "any"falsefalsefalse50), function ($__v__) use ($context$macros) { $context["v"] = $__v__; return (twig_get_attribute($this->env$this->source, (isset($context["v"]) || array_key_exists("v"$context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.'50$this->source); })()), "type", [], "any"falsefalsefalse50) == "page_actualite"); }));
  170.                     foreach ($context['_seq'] as $context["_key"] => $context["item_url"]) {
  171.                         // line 51
  172.                         echo "                                                        <li>
  173.                                                             <a href=\"";
  174.                         // line 52
  175.                         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_url"], "slug", [], "any"falsefalsefalse52)]), "html"nulltrue);
  176.                         echo "\" title=\"";
  177.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item_url"], "titre", [], "any"falsefalsefalse52), "html"nulltrue);
  178.                         echo "\" target=\"_top\"> ";
  179.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item_url"], "titre", [], "any"falsefalsefalse52), "html"nulltrue);
  180.                         echo "</a>
  181.                                                         </li>
  182.                                                     ";
  183.                     }
  184.                     $_parent $context['_parent'];
  185.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item_url'], $context['_parent'], $context['loop']);
  186.                     $context array_intersect_key($context$_parent) + $_parent;
  187.                     // line 54
  188.                     echo "     
  189.                                                     ";
  190.                     // line 57
  191.                     if ((twig_get_attribute($this->env$this->source$context["item"], "activite_secondiare", [], "any"truetruefalse57) &&  !twig_test_empty(twig_get_attribute($this->env$this->source$context["item"], "activite_secondiare", [], "any"falsefalsefalse57)))) {
  192.                         // line 58
  193.                         echo "                                                          ";
  194.                         $context['_parent'] = $context;
  195.                         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["item"], "activite_secondiare", [], "any"falsefalsefalse58));
  196.                         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  197.                             // line 59
  198.                             echo "                                                            <div class=\"sous_activite\">
  199.                                                                 ";
  200.                             // line 61
  201.                             echo "                                                                ";
  202.                             if ((twig_get_attribute($this->env$this->source$context["item"], "urls", [], "any"truetruefalse61) &&  !twig_test_empty(twig_get_attribute($this->env$this->source$context["item"], "urls", [], "any"falsefalsefalse61)))) {
  203.                                 // line 62
  204.                                 echo "                                                                    <ul>
  205.                                                                         ";
  206.                                 // line 63
  207.                                 $context['_parent'] = $context;
  208.                                 $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "urls", [], "any"falsefalsefalse63), function ($__v__) use ($context$macros) { $context["v"] = $__v__; return (twig_get_attribute($this->env$this->source, (isset($context["v"]) || array_key_exists("v"$context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.'63$this->source); })()), "type", [], "any"falsefalsefalse63) == "page_ref"); }));
  209.                                 foreach ($context['_seq'] as $context["_key"] => $context["item_url"]) {
  210.                                     // line 64
  211.                                     echo "                                                                                <li>
  212.                                                                                    <i class=\"fa fa-long-arrow-right\" aria-hidden=\"true\"></i>  <a href=\"";
  213.                                     // line 65
  214.                                     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_url"], "slug", [], "any"falsefalsefalse65)]), "html"nulltrue);
  215.                                     echo "\" title=\"";
  216.                                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item_url"], "titre", [], "any"falsefalsefalse65), "html"nulltrue);
  217.                                     echo "\" target=\"_top\"> ";
  218.                                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item_url"], "titre", [], "any"falsefalsefalse65), "html"nulltrue);
  219.                                     echo "</a>
  220.                                                                                 </li>
  221.                                                                         ";
  222.                                 }
  223.                                 $_parent $context['_parent'];
  224.                                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item_url'], $context['_parent'], $context['loop']);
  225.                                 $context array_intersect_key($context$_parent) + $_parent;
  226.                                 // line 68
  227.                                 echo "
  228.                                                                         ";
  229.                                 // line 69
  230.                                 $context['_parent'] = $context;
  231.                                 $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "urls", [], "any"falsefalsefalse69), function ($__v__) use ($context$macros) { $context["v"] = $__v__; return (twig_get_attribute($this->env$this->source, (isset($context["v"]) || array_key_exists("v"$context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.'69$this->source); })()), "type", [], "any"falsefalsefalse69) == "page_actualite"); }));
  232.                                 foreach ($context['_seq'] as $context["_key"] => $context["item_url"]) {
  233.                                     // line 70
  234.                                     echo "                                                                                <li>
  235.                                                                                    <i class=\"fa fa-long-arrow-right\" aria-hidden=\"true\"></i> <a href=\"";
  236.                                     // line 71
  237.                                     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_url"], "slug", [], "any"falsefalsefalse71)]), "html"nulltrue);
  238.                                     echo "\" title=\"";
  239.                                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item_url"], "titre", [], "any"falsefalsefalse71), "html"nulltrue);
  240.                                     echo "\" target=\"_top\"> ";
  241.                                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item_url"], "titre", [], "any"falsefalsefalse71), "html"nulltrue);
  242.                                     echo "</a>
  243.                                                                                 </li>
  244.                                                                         ";
  245.                                 }
  246.                                 $_parent $context['_parent'];
  247.                                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item_url'], $context['_parent'], $context['loop']);
  248.                                 $context array_intersect_key($context$_parent) + $_parent;
  249.                                 // line 74
  250.                                 echo "                                                                    </ul>
  251.                                                                 ";
  252.                             }
  253.                             // line 76
  254.                             echo "                                                            </div> 
  255.                                                           ";
  256.                         }
  257.                         $_parent $context['_parent'];
  258.                         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  259.                         $context array_intersect_key($context$_parent) + $_parent;
  260.                         // line 78
  261.                         echo "                                                    ";
  262.                     }
  263.                     echo "                                                                                                                                                         
  264.                                                 </ul>  
  265.                                             ";
  266.                 }
  267.                 // line 81
  268.                 echo "                                        </div>
  269.                                     </div>
  270.                                 </div>
  271.                             ";
  272.             }
  273.             $_parent $context['_parent'];
  274.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  275.             $context array_intersect_key($context$_parent) + $_parent;
  276.             // line 85
  277.             echo "                        </div>
  278.                     ";
  279.         }
  280.         // line 87
  281.         echo "
  282.                 </div>
  283.          </div> 
  284. ";
  285.         
  286.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  287.         
  288.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  289.     }
  290.     public function getTemplateName()
  291.     {
  292.         return "front/theme1/activites.html.twig";
  293.     }
  294.     public function isTraitable()
  295.     {
  296.         return false;
  297.     }
  298.     public function getDebugInfo()
  299.     {
  300.         return array (  305 => 87,  301 => 85,  292 => 81,  285 => 78,  278 => 76,  274 => 74,  261 => 71,  258 => 70,  254 => 69,  251 => 68,  238 => 65,  235 => 64,  231 => 63,  228 => 62,  225 => 61,  222 => 59,  217 => 58,  215 => 57,  210 => 54,  197 => 52,  194 => 51,  190 => 50,  186 => 48,  173 => 46,  170 => 45,  166 => 44,  163 => 43,  161 => 42,  152 => 40,  148 => 38,  144 => 37,  141 => 36,  139 => 35,  134 => 32,  129 => 30,  124 => 29,  122 => 28,  111 => 19,  106 => 17,  101 => 16,  99 => 15,  91 => 9,  81 => 8,  68 => 4,  58 => 3,  36 => 1,);
  301.     }
  302.     public function getSourceContext()
  303.     {
  304.         return new Source("{% extends \"front/\"~ app.request.server.get('APP_THEME') ~\"/base.html.twig\" %}
  305. {% block stylesheets %}
  306.       {{parent()}}
  307. {% endblock %}
  308. {% block body %}
  309.          <div class=\"page_cms page_activite pt-5\">
  310.                 <div class=\"breadcrumb-style-default\">
  311.                     <div class=\"container\">
  312.                         <div class=\"row\">
  313.                             <div class=\"col-lg-12\">
  314.                                 <div class=\"inner text-center\">
  315.                                     {% if breadcrumb is defined and breadcrumb is not empty %}
  316.                                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/breadcrumb.html.twig')}}
  317.                                         <h1 class=\"page-title\">{{title_page}}</h1>
  318.                                     {% endif %}
  319.                                 </div>
  320.                             </div>
  321.                         </div>
  322.                     </div>
  323.                 </div>
  324.                 <div class=\"container-fluid wrapper\">
  325.                     <div id=\"bloc-principal\" class=\"row\">
  326.                         <div class=\"col-sm-12 text-center\">
  327.                             {% if parametreRef is defined and parametreRef is not empty %}
  328.                                 <h2>{{parametreRef.soustitreparamref}}</h2>
  329.                                 {{parametreRef.description|raw}}
  330.                             {% endif %}
  331.                         </div>
  332.                     </div>
  333.                     {% if activites is defined and activites is not empty %}
  334.                         <div id=\"bloc-activites\" class=\"row\">
  335.                             {% for item in activites %}
  336.                                 <div class=\"col-sm-12 col-md-6\">
  337.                                     <div class=\"panel panel-success mb-4\">
  338.                                         <div class=\"panel-heading\"><span class=\"panel-title\"> <a href=\"{{path('page',{slug:item.slug})}}\" title=\"{{item.titre}}\" target=\"_top\">{{item.titre}}</a></span></div>
  339.                                         <div class=\"panel-body\">
  340.                                             {% if item.urls_principal is defined and item.urls_principal is not empty %}
  341.                                                 <ul>   
  342.                                                     {% for item_url in item.urls_principal|filter(v => v.type == \"page_ref\") %}
  343.                                                         <li>
  344.                                                             <a href=\"{{path('page', {slug:item_url.slug})}}\" title=\"{{item_url.titre}}\" target=\"_top\"> {{item_url.titre}}</a>
  345.                                                         </li>
  346.                                                     {% endfor %}  
  347.                                                     {% for item_url in item.urls_principal|filter(v => v.type == \"page_actualite\") %}
  348.                                                         <li>
  349.                                                             <a href=\"{{path('page', {slug:item_url.slug})}}\" title=\"{{item_url.titre}}\" target=\"_top\"> {{item_url.titre}}</a>
  350.                                                         </li>
  351.                                                     {% endfor %}     
  352.                                                     {% if item.activite_secondiare is defined and item.activite_secondiare is not empty %}
  353.                                                           {% for item in item.activite_secondiare %}
  354.                                                             <div class=\"sous_activite\">
  355.                                                                 {# <a href=\"{{path('page',{slug:item.slug})}}\"><i class=\"fa fa-long-arrow-right\" aria-hidden=\"true\"></i> {{item.titre}}</a> #}
  356.                                                                 {% if item.urls is defined and item.urls is not empty %}
  357.                                                                     <ul>
  358.                                                                         {% for item_url in item.urls|filter(v => v.type == \"page_ref\") %}
  359.                                                                                 <li>
  360.                                                                                    <i class=\"fa fa-long-arrow-right\" aria-hidden=\"true\"></i>  <a href=\"{{path('page',{slug:item_url.slug})}}\" title=\"{{item_url.titre}}\" target=\"_top\"> {{item_url.titre}}</a>
  361.                                                                                 </li>
  362.                                                                         {% endfor %}
  363.                                                                         {% for item_url in item.urls|filter(v => v.type == \"page_actualite\") %}
  364.                                                                                 <li>
  365.                                                                                    <i class=\"fa fa-long-arrow-right\" aria-hidden=\"true\"></i> <a href=\"{{path('page',{slug:item_url.slug})}}\" title=\"{{item_url.titre}}\" target=\"_top\"> {{item_url.titre}}</a>
  366.                                                                                 </li>
  367.                                                                         {% endfor %}
  368.                                                                     </ul>
  369.                                                                 {% endif %}
  370.                                                             </div> 
  371.                                                           {% endfor %}
  372.                                                     {% endif %}                                                                                                                                                         
  373.                                                 </ul>  
  374.                                             {% endif %}
  375.                                         </div>
  376.                                     </div>
  377.                                 </div>
  378.                             {% endfor %}
  379.                         </div>
  380.                     {% endif %}
  381.                 </div>
  382.          </div> 
  383. {% endblock %}
  384. ""front/theme1/activites.html.twig""/var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/templates/front/theme1/activites.html.twig");
  385.     }
  386. }