var/cache/dev/twig/bf/bfb0b4e838b36159b2821ec7ff79460b.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. /* services/show.html.twig */
  14. class __TwigTemplate_c4b386b84dbf21c0d9c4a7871489121a 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.             'title' => [$this, 'block_title'],
  24.             'content' => [$this, 'block_content'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  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", "services/show.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", "services/show.html.twig"));
  39.         $this->parent = $this->loadTemplate("base.html.twig", "services/show.html.twig", 1);
  40.         $this->parent->display($context, array_merge($this->blocks, $blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 3
  47.     public function block_title($context, array $blocks = [])
  48.     {
  49.         $macros = $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  54.         // line 4
  55.         echo "    ";
  56.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 4, $this->source); })()), "title", [], "any", false, false, false, 4), "html", null, true);
  57.         echo "
  58. ";
  59.         
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  61.         
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  63.     }
  64.     // line 7
  65.     public function block_content($context, array $blocks = [])
  66.     {
  67.         $macros = $this->macros;
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  72.         // line 8
  73.         echo "    <!--==============================
  74. Breadcumb
  75. ============================== -->
  76.     ";
  77.         // line 11
  78.         if (((twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 11, $this->source); })()), "langue", [], "any", false, false, false, 11) == "fr_fr") && twig_in_filter("/fr/", twig_get_attribute($this->env, $this->source, twig_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.', 11, $this->source); })()), "request", [], "any", false, false, false, 11), "uri", [], "any", false, false, false, 11)))) {
  79.             // line 12
  80.             echo "        <div class=\"breadcumb-wrapper\"
  81.              style=\"background-image:linear-gradient(0deg, rgba(0, 0, 0, 0.54), rgba(30, 28, 29, 0.69)), url('";
  82.             // line 13
  83.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("content/media/" . twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 13, $this->source); })()), "bannerImg", [], "any", false, false, false, 13))), "html", null, true);
  84.             echo "')\">
  85.             <div class=\"container z-index-common\">
  86.                 <div class=\"breadcumb-content\">
  87.                     <h1 class=\"breadcumb-title\">";
  88.             // line 16
  89.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 16, $this->source); })()), "title", [], "any", false, false, false, 16), "html", null, true);
  90.             echo "</h1>
  91.                     <div class=\"breadcumb-menu-wrap\">
  92.                         <ul class=\"breadcumb-menu\">
  93.                             <li><a href=\"";
  94.             // line 19
  95.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_main");
  96.             echo "\">";
  97.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Accueil"), "html", null, true);
  98.             echo "</a></li>
  99.                             <li>";
  100.             // line 20
  101.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 20, $this->source); })()), "title", [], "any", false, false, false, 20), "html", null, true);
  102.             echo "</li>
  103.                         </ul>
  104.                     </div>
  105.                 </div>
  106.             </div>
  107.         </div>
  108.     ";
  109.         } elseif (((twig_get_attribute($this->env, $this->source,         // line 26
  110. (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 26, $this->source); })()), "langue", [], "any", false, false, false, 26) == "en_en") && twig_in_filter("/en/", twig_get_attribute($this->env, $this->source, twig_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.', 26, $this->source); })()), "request", [], "any", false, false, false, 26), "uri", [], "any", false, false, false, 26)))) {
  111.             // line 27
  112.             echo "
  113.     ";
  114.         }
  115.         // line 29
  116.         echo "    <!--==============================
  117.     Service Details
  118.     ==============================-->
  119.     <section class=\" space-top space-extra-bottom\">
  120.         <div class=\"container\">
  121.             <div class=\"row align-items-center\">
  122.                 <div class=\"col-lg-6 wow fadeInUp\" data-wow-delay=\"0.3s\" style=\"margin-left: 50px;\">
  123.                     <h2 class=\"sec-title col-xl-9\">";
  124.         // line 36
  125.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 36, $this->source); })()), "title", [], "any", false, false, false, 36), "html", null, true);
  126.         echo "</h2>
  127.                     <p class=\"pe-3 fs-md\">";
  128.         // line 38
  129.         echo twig_get_attribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 38, $this->source); })()), "content", [], "any", false, false, false, 38);
  130.         echo "</p>
  131.                 </div>
  132.                 ";
  133.         // line 41
  134.         if (twig_in_filter("/fr/services/traduction", twig_get_attribute($this->env, $this->source, twig_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.', 41, $this->source); })()), "request", [], "any", false, false, false, 41), "uri", [], "any", false, false, false, 41))) {
  135.             // line 42
  136.             echo "                    ";
  137.             echo twig_include($this->env, $context, "services/_translation.html.twig");
  138.             echo "
  139.                 ";
  140.         }
  141.         // line 45
  142.         echo "
  143.             </div>
  144.             ";
  145.         // line 48
  146.         echo twig_include($this->env, $context, "partials/_calltoaction.html.twig");
  147.         echo "
  148.         </div>
  149.     </section>
  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 "services/show.html.twig";
  159.     }
  160.     public function isTraitable()
  161.     {
  162.         return false;
  163.     }
  164.     public function getDebugInfo()
  165.     {
  166.         return array (  169 => 48,  164 => 45,  157 => 42,  155 => 41,  149 => 38,  144 => 36,  135 => 29,  131 => 27,  129 => 26,  120 => 20,  114 => 19,  108 => 16,  102 => 13,  99 => 12,  97 => 11,  92 => 8,  82 => 7,  69 => 4,  59 => 3,  36 => 1,);
  167.     }
  168.     public function getSourceContext()
  169.     {
  170.         return new Source("{% extends 'base.html.twig' %}
  171. {% block title %}
  172.     {{ services.title }}
  173. {% endblock %}
  174. {% block content %}
  175.     <!--==============================
  176. Breadcumb
  177. ============================== -->
  178.     {% if services.langue == 'fr_fr' and '/fr/' in app.request.uri %}
  179.         <div class=\"breadcumb-wrapper\"
  180.              style=\"background-image:linear-gradient(0deg, rgba(0, 0, 0, 0.54), rgba(30, 28, 29, 0.69)), url('{{ asset('content/media/' ~ services.bannerImg) }}')\">
  181.             <div class=\"container z-index-common\">
  182.                 <div class=\"breadcumb-content\">
  183.                     <h1 class=\"breadcumb-title\">{{ services.title }}</h1>
  184.                     <div class=\"breadcumb-menu-wrap\">
  185.                         <ul class=\"breadcumb-menu\">
  186.                             <li><a href=\"{{ path('app_main') }}\">{{ \"Accueil\" | trans }}</a></li>
  187.                             <li>{{ services.title }}</li>
  188.                         </ul>
  189.                     </div>
  190.                 </div>
  191.             </div>
  192.         </div>
  193.     {% elseif service.langue == 'en_en' and '/en/' in app.request.uri %}
  194.     {% endif %}
  195.     <!--==============================
  196.     Service Details
  197.     ==============================-->
  198.     <section class=\" space-top space-extra-bottom\">
  199.         <div class=\"container\">
  200.             <div class=\"row align-items-center\">
  201.                 <div class=\"col-lg-6 wow fadeInUp\" data-wow-delay=\"0.3s\" style=\"margin-left: 50px;\">
  202.                     <h2 class=\"sec-title col-xl-9\">{{ services.title }}</h2>
  203.                     <p class=\"pe-3 fs-md\">{{ services.content | raw }}</p>
  204.                 </div>
  205.                 {% if '/fr/services/traduction' in app.request.uri %}
  206.                     {{ include('services/_translation.html.twig') }}
  207.                 {% endif %}
  208.             </div>
  209.             {{ include('partials/_calltoaction.html.twig') }}
  210.         </div>
  211.     </section>
  212. {% endblock %}
  213. ", "services/show.html.twig", "/home/sc4cvak5897/app/linguafranca/templates/services/show.html.twig");
  214.     }
  215. }