var/cache/dev/twig/a9/a9143266bdf5fb11ba40aa22eee5e8eb6177334a8ee0e8a008445348be677546.php line 91

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. /* page/new_faq.html.twig */
  14. class __TwigTemplate_d1c907d82408c7c4a55fed6d39467980addec014b13d26648b400495969a8b61 extends \Twig\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.             'googleTagManagerDataLayer' => [$this'block_googleTagManagerDataLayer'],
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "front/layout.html.twig";
  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""page/new_faq.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""page/new_faq.html.twig"));
  39.         $this->parent $this->loadTemplate("front/layout.html.twig""page/new_faq.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 2
  47.     public function block_googleTagManagerDataLayer($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""googleTagManagerDataLayer"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""googleTagManagerDataLayer"));
  54.         // line 3
  55.         echo "    ";
  56.         $this->loadTemplate("google_tag.html.twig""page/new_faq.html.twig"3)->display(twig_array_merge($context, ["titlePage" => "FAQ Detail""categoryPage" => "help and advice""navigation_category1" => "Aide & conseils""navigation_category2" => """navigation_category3" => ""]));
  57.         
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  59.         
  60.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  61.     }
  62.     // line 5
  63.     public function block_body($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  70.         // line 6
  71.         echo "    ";
  72.         $this->loadTemplate("front/header.html.twig""page/new_faq.html.twig"6)->display($context);
  73.         // line 7
  74.         echo "    <div class=\"row_top_artb row_top_artb-these\" style=\"padding: 4vw 0;\">
  75.         <div class=\"maxw_artb row\">
  76.             <div class=\"col-12\">
  77.                 <h2 style=\" margin: 0 auto;max-width: 730px;\">";
  78.         // line 10
  79.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Comment pouvons-nous vous aider ?"), "html"nulltrue);
  80.         echo "</h2>
  81.                 <div class=\"\" style=\" margin: 0 auto;max-width: 600px;padding-top: 20px;\">
  82.                     <form method=\"post\" action=\"";
  83.         // line 12
  84.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("faq_category");
  85.         echo "\">
  86.                         <div class=\"input_cherche_faq\">
  87.                             <input type=\"text\" id=\"\" value=\"\" name=\"inputChercheFaq\" class=\"for_velo \" placeholder=\"";
  88.         // line 14
  89.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Chercher des rĂ©ponses ..."), "html"nulltrue);
  90.         echo "\" style=\"background-image: url(";
  91.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/icon_loupe.jpeg"), "html"nulltrue);
  92.         echo ")\">
  93.                         </div>
  94.                     </form>
  95.                 </div>
  96.             </div>
  97.         </div>
  98.     </div>
  99.     <div class=\"container-fluid part4 gif_img concept\">
  100.         <div class=\"ml-5  space-top-medium\">
  101.             <div class=\"vc_row wpb_row vc_row-fluid\">
  102.                 <div class=\"wpb_column vc_column_container vc_col-sm-9\">
  103.                     <div class=\"vc_column-inner \">
  104.                         <div class=\"wpb_wrapper\">
  105.                             <div class=\"vc_empty_space\" style=\"height: 45px\"><span class=\"vc_empty_space_inner\"></span></div>
  106.                             ";
  107.         // line 28
  108.         $context['_parent'] = $context;
  109.         $context['_seq'] = twig_ensure_traversable((isset($context["questions"]) || array_key_exists("questions"$context) ? $context["questions"] : (function () { throw new RuntimeError('Variable "questions" does not exist.'28$this->source); })()));
  110.         $context['_iterated'] = false;
  111.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  112.             // line 29
  113.             echo "
  114.                                 <div class=\"vc_toggle vc_toggle_default vc_toggle_color_default vc_toggle_size_md";
  115.             // line 30
  116.             if (((twig_get_attribute($this->env$this->source$context["item"], "id", [], "any"falsefalsefalse30) == 44) || (twig_get_attribute($this->env$this->source$context["item"], "id", [], "any"falsefalsefalse30) == 43))) {
  117.                 echo " vc_toggle_active ";
  118.             }
  119.             echo "\">
  120.                                     <div class=\"vc_toggle_title\">
  121.                                         <h4>";
  122.             // line 32
  123.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["item"], "titre", [], "any"falsefalsefalse32)), "html"nulltrue);
  124.             echo "</h4>
  125.                                         <i class=\"vc_toggle_icon\"></i>
  126.                                     </div>
  127.                                     <div class=\"vc_toggle_content\" style=\"";
  128.             // line 35
  129.             if (((twig_get_attribute($this->env$this->source$context["item"], "id", [], "any"falsefalsefalse35) == 42) || (twig_get_attribute($this->env$this->source$context["item"], "id", [], "any"falsefalsefalse35) == 3))) {
  130.                 echo "display: block; ";
  131.             }
  132.             echo "\">
  133.                                         ";
  134.             // line 36
  135.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["item"], "description", [], "any"falsefalsefalse36));
  136.             echo "
  137.                                     </div>
  138.                                 </div>
  139.                              ";
  140.             $context['_iterated'] = true;
  141.         }
  142.         if (!$context['_iterated']) {
  143.             // line 40
  144.             echo "                                <p> ";
  145.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Aucune question"), "html"nulltrue);
  146.             echo "</p>
  147.                             ";
  148.         }
  149.         $_parent $context['_parent'];
  150.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  151.         $context array_intersect_key($context$_parent) + $_parent;
  152.         // line 42
  153.         echo "                        </div>
  154.                     </div>
  155.                 </div>
  156.             </div>
  157.         </div>
  158.     </div>
  159.     ";
  160.         // line 49
  161.         $this->loadTemplate("front/footer.html.twig""page/new_faq.html.twig"49)->display($context);
  162.         // line 50
  163.         echo "
  164. ";
  165.         
  166.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  167.         
  168.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  169.     }
  170.     public function getTemplateName()
  171.     {
  172.         return "page/new_faq.html.twig";
  173.     }
  174.     public function isTraitable()
  175.     {
  176.         return false;
  177.     }
  178.     public function getDebugInfo()
  179.     {
  180.         return array (  183 => 50,  181 => 49,  172 => 42,  163 => 40,  154 => 36,  148 => 35,  142 => 32,  135 => 30,  132 => 29,  127 => 28,  108 => 14,  103 => 12,  98 => 10,  93 => 7,  90 => 6,  80 => 5,  69 => 3,  59 => 2,  36 => 1,);
  181.     }
  182.     public function getSourceContext()
  183.     {
  184.         return new Source("{% extends 'front/layout.html.twig' %}
  185. {% block googleTagManagerDataLayer %}
  186.     {% include 'google_tag.html.twig' with {'titlePage':'FAQ Detail','categoryPage':'help and advice','navigation_category1':'Aide & conseils','navigation_category2':'','navigation_category3':'' }   %}
  187. {% endblock %}
  188. {% block body %}
  189.     {% include 'front/header.html.twig' %}
  190.     <div class=\"row_top_artb row_top_artb-these\" style=\"padding: 4vw 0;\">
  191.         <div class=\"maxw_artb row\">
  192.             <div class=\"col-12\">
  193.                 <h2 style=\" margin: 0 auto;max-width: 730px;\">{{ \"Comment pouvons-nous vous aider ?\"|trans }}</h2>
  194.                 <div class=\"\" style=\" margin: 0 auto;max-width: 600px;padding-top: 20px;\">
  195.                     <form method=\"post\" action=\"{{ path('faq_category') }}\">
  196.                         <div class=\"input_cherche_faq\">
  197.                             <input type=\"text\" id=\"\" value=\"\" name=\"inputChercheFaq\" class=\"for_velo \" placeholder=\"{{ \"Chercher des rĂ©ponses ...\"|trans }}\" style=\"background-image: url({{ asset('images/icon_loupe.jpeg') }})\">
  198.                         </div>
  199.                     </form>
  200.                 </div>
  201.             </div>
  202.         </div>
  203.     </div>
  204.     <div class=\"container-fluid part4 gif_img concept\">
  205.         <div class=\"ml-5  space-top-medium\">
  206.             <div class=\"vc_row wpb_row vc_row-fluid\">
  207.                 <div class=\"wpb_column vc_column_container vc_col-sm-9\">
  208.                     <div class=\"vc_column-inner \">
  209.                         <div class=\"wpb_wrapper\">
  210.                             <div class=\"vc_empty_space\" style=\"height: 45px\"><span class=\"vc_empty_space_inner\"></span></div>
  211.                             {% for item in questions %}
  212.                                 <div class=\"vc_toggle vc_toggle_default vc_toggle_color_default vc_toggle_size_md{% if item.id == 44 or item.id == 43  %} vc_toggle_active {% endif %}\">
  213.                                     <div class=\"vc_toggle_title\">
  214.                                         <h4>{{ item.titre|trans  }}</h4>
  215.                                         <i class=\"vc_toggle_icon\"></i>
  216.                                     </div>
  217.                                     <div class=\"vc_toggle_content\" style=\"{% if item.id == 42 or item.id == 3  %}display: block; {% endif %}\">
  218.                                         {{ item.description|trans |raw }}
  219.                                     </div>
  220.                                 </div>
  221.                              {% else %}
  222.                                 <p> {{ \"Aucune question\"|trans }}</p>
  223.                             {% endfor %}
  224.                         </div>
  225.                     </div>
  226.                 </div>
  227.             </div>
  228.         </div>
  229.     </div>
  230.     {% include 'front/footer.html.twig' %}
  231. {% endblock %}
  232. ""page/new_faq.html.twig""/home/preprodcopees/www/copees-sf/templates/page/new_faq.html.twig");
  233.     }
  234. }