var/cache/dev/twig/91/91772366382ef6977e9063dbd1656331.php line 47

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/page_detail_partenaires.html.twig */
  14. class __TwigTemplate_eb656cd28379459ed37b5061cad0fb90 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.             'body' => [$this'block_body'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         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/page_detail_partenaires.html.twig"1);
  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""front/theme1/page_detail_partenaires.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""front/theme1/page_detail_partenaires.html.twig"));
  38.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  39.         
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  41.         
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  43.     }
  44.     // line 3
  45.     public function block_body($context, array $blocks = [])
  46.     {
  47.         $macros $this->macros;
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  52.         // line 4
  53.         echo "
  54. <div class=\"page_cms pt-5\">
  55.     <div class=\"breadcrumb-style-default\">
  56.         <div class=\"container\">
  57.             <div class=\"row\">
  58.                 <div class=\"col-lg-12\">
  59.                     <div class=\"inner text-center\">
  60.                         <ol class=\"breadcrumb d-flex justify-content-center\" itemscope itemtype=\"http://schema.org/BreadcrumbList\">
  61.                             <li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"";
  62.         // line 12
  63.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index_page_home");
  64.         echo "\" itemprop=\"item\"><span itemprop=\"name\">Accueil</span></a><meta itemprop=\"position\" content=\"1\" /></li>
  65.                             <li class=\"breadcrumb-item\" aria-current=\"page\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"";
  66.         // line 13
  67.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_partenaire");
  68.         echo "\" itemprop=\"item\"><span itemprop=\"name\">";
  69.         echo "Partenaires";
  70.         echo "</span></a><meta itemprop=\"position\" content=\"2\" /></li>
  71.                             <li class=\"breadcrumb-item active\" aria-current=\"page\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><span itemprop=\"name\">";
  72.         // line 14
  73.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["partenaire"]) || array_key_exists("partenaire"$context) ? $context["partenaire"] : (function () { throw new RuntimeError('Variable "partenaire" does not exist.'14$this->source); })()), "titre", [], "any"falsefalsefalse14), "html"nulltrue);
  74.         echo "</span><meta itemprop=\"position\" content=\"2\" /></li>
  75.                         </ol>
  76.                         <h1 class=\"page-title\">";
  77.         // line 16
  78.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["partenaire"]) || array_key_exists("partenaire"$context) ? $context["partenaire"] : (function () { throw new RuntimeError('Variable "partenaire" does not exist.'16$this->source); })()), "titre", [], "any"falsefalsefalse16), "html"nulltrue);
  79.         echo "</h1>
  80.                     </div>
  81.                 </div>
  82.                 <div class=\"col-sm-12 mt-5 mb-5\">
  83.                      <div class=\"row\">
  84.                            ";
  85.         // line 22
  86.         $context["image"] = (((twig_get_attribute($this->env$this->source, (isset($context["partenaire"]) || array_key_exists("partenaire"$context) ? $context["partenaire"] : (function () { throw new RuntimeError('Variable "partenaire" does not exist.'22$this->source); })()), "image", [], "any"falsefalsefalse22) != "")) ? (twig_get_attribute($this->env$this->source, (isset($context["partenaire"]) || array_key_exists("partenaire"$context) ? $context["partenaire"] : (function () { throw new RuntimeError('Variable "partenaire" does not exist.'22$this->source); })()), "image", [], "any"falsefalsefalse22)) : (("/uploads/images/" twig_get_attribute($this->env$this->source$this->extensions['App\Twig\ParametreSiteExtension']->ParametreSiteFunction(), "imagevide", [], "any"falsefalsefalse22))));
  87.         // line 23
  88.         echo "                     
  89.                             <div class=\"col-sm-12 col-md-6\">
  90.                                 <img alt=\"";
  91.         // line 25
  92.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["partenaire"]) || array_key_exists("partenaire"$context) ? $context["partenaire"] : (function () { throw new RuntimeError('Variable "partenaire" does not exist.'25$this->source); })()), "titre", [], "any"falsefalsefalse25), "html"nulltrue);
  93.         echo "\" title=\"";
  94.         echo twig_get_attribute($this->env$this->source, (isset($context["partenaire"]) || array_key_exists("partenaire"$context) ? $context["partenaire"] : (function () { throw new RuntimeError('Variable "partenaire" does not exist.'25$this->source); })()), "titre", [], "any"falsefalsefalse25);
  95.         echo "\" src=\"";
  96.         echo twig_escape_filter($this->env, (isset($context["image"]) || array_key_exists("image"$context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.'25$this->source); })()), "html"nulltrue);
  97.         echo "\" class=\"img-fluid\"/>
  98.                             </div>
  99.               
  100.                            <div class=\"col-sm-12 col-md-6\">
  101.                                 <h2 class=\"titre-item\">";
  102.         // line 29
  103.         echo twig_get_attribute($this->env$this->source, (isset($context["partenaire"]) || array_key_exists("partenaire"$context) ? $context["partenaire"] : (function () { throw new RuntimeError('Variable "partenaire" does not exist.'29$this->source); })()), "titre", [], "any"falsefalsefalse29);
  104.         echo "</h2>
  105.                                 <div class=\"content-item\">";
  106.         // line 30
  107.         echo twig_get_attribute($this->env$this->source, (isset($context["partenaire"]) || array_key_exists("partenaire"$context) ? $context["partenaire"] : (function () { throw new RuntimeError('Variable "partenaire" does not exist.'30$this->source); })()), "text", [], "any"falsefalsefalse30);
  108.         echo "</div>
  109.                            </div>
  110.                      </div>
  111.                 </div>
  112.             </div>
  113.         </div>
  114.     </div>
  115.   
  116. </div>
  117.     
  118. ";
  119.         
  120.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  121.         
  122.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  123.     }
  124.     public function getTemplateName()
  125.     {
  126.         return "front/theme1/page_detail_partenaires.html.twig";
  127.     }
  128.     public function isTraitable()
  129.     {
  130.         return false;
  131.     }
  132.     public function getDebugInfo()
  133.     {
  134.         return array (  122 => 30,  118 => 29,  107 => 25,  103 => 23,  101 => 22,  92 => 16,  87 => 14,  81 => 13,  77 => 12,  67 => 4,  57 => 3,  35 => 1,);
  135.     }
  136.     public function getSourceContext()
  137.     {
  138.         return new Source("{% extends \"front/\"~ app.request.server.get('APP_THEME') ~\"/base.html.twig\" %}
  139. {% block body %}
  140. <div class=\"page_cms pt-5\">
  141.     <div class=\"breadcrumb-style-default\">
  142.         <div class=\"container\">
  143.             <div class=\"row\">
  144.                 <div class=\"col-lg-12\">
  145.                     <div class=\"inner text-center\">
  146.                         <ol class=\"breadcrumb d-flex justify-content-center\" itemscope itemtype=\"http://schema.org/BreadcrumbList\">
  147.                             <li class=\"breadcrumb-item\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"{{path('index_page_home')}}\" itemprop=\"item\"><span itemprop=\"name\">Accueil</span></a><meta itemprop=\"position\" content=\"1\" /></li>
  148.                             <li class=\"breadcrumb-item\" aria-current=\"page\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><a href=\"{{path('page_partenaire')}}\" itemprop=\"item\"><span itemprop=\"name\">{{'Partenaires'}}</span></a><meta itemprop=\"position\" content=\"2\" /></li>
  149.                             <li class=\"breadcrumb-item active\" aria-current=\"page\" itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\"><span itemprop=\"name\">{{partenaire.titre}}</span><meta itemprop=\"position\" content=\"2\" /></li>
  150.                         </ol>
  151.                         <h1 class=\"page-title\">{{partenaire.titre}}</h1>
  152.                     </div>
  153.                 </div>
  154.                 <div class=\"col-sm-12 mt-5 mb-5\">
  155.                      <div class=\"row\">
  156.                            {% set image = partenaire.image != ''? partenaire.image:'/uploads/images/'~ ParametreSite().imagevide %}
  157.                      
  158.                             <div class=\"col-sm-12 col-md-6\">
  159.                                 <img alt=\"{{partenaire.titre}}\" title=\"{{partenaire.titre|raw}}\" src=\"{{image}}\" class=\"img-fluid\"/>
  160.                             </div>
  161.               
  162.                            <div class=\"col-sm-12 col-md-6\">
  163.                                 <h2 class=\"titre-item\">{{partenaire.titre|raw}}</h2>
  164.                                 <div class=\"content-item\">{{partenaire.text|raw}}</div>
  165.                            </div>
  166.                      </div>
  167.                 </div>
  168.             </div>
  169.         </div>
  170.     </div>
  171.   
  172. </div>
  173.     
  174. {% endblock %}
  175. ""front/theme1/page_detail_partenaires.html.twig""/var/www/vhosts/hrz.fr/new-site.hrz.fr/templates/front/theme1/page_detail_partenaires.html.twig");
  176.     }
  177. }