<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* services/show.html.twig */
class __TwigTemplate_c4b386b84dbf21c0d9c4a7871489121a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "services/show.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "services/show.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "services/show.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 4
echo " ";
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);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 7
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 8
echo " <!--==============================
Breadcumb
============================== -->
";
// line 11
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)))) {
// line 12
echo " <div class=\"breadcumb-wrapper\"
style=\"background-image:linear-gradient(0deg, rgba(0, 0, 0, 0.54), rgba(30, 28, 29, 0.69)), url('";
// line 13
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);
echo "')\">
<div class=\"container z-index-common\">
<div class=\"breadcumb-content\">
<h1 class=\"breadcumb-title\">";
// line 16
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);
echo "</h1>
<div class=\"breadcumb-menu-wrap\">
<ul class=\"breadcumb-menu\">
<li><a href=\"";
// line 19
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_main");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Accueil"), "html", null, true);
echo "</a></li>
<li>";
// line 20
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);
echo "</li>
</ul>
</div>
</div>
</div>
</div>
";
} elseif (((twig_get_attribute($this->env, $this->source, // line 26
(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)))) {
// line 27
echo "
";
}
// line 29
echo " <!--==============================
Service Details
==============================-->
<section class=\" space-top space-extra-bottom\">
<div class=\"container\">
<div class=\"row align-items-center\">
<div class=\"col-lg-6 wow fadeInUp\" data-wow-delay=\"0.3s\" style=\"margin-left: 50px;\">
<h2 class=\"sec-title col-xl-9\">";
// line 36
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);
echo "</h2>
<p class=\"pe-3 fs-md\">";
// line 38
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);
echo "</p>
</div>
";
// line 41
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))) {
// line 42
echo " ";
echo twig_include($this->env, $context, "services/_translation.html.twig");
echo "
";
}
// line 45
echo "
</div>
";
// line 48
echo twig_include($this->env, $context, "partials/_calltoaction.html.twig");
echo "
</div>
</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "services/show.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}
{{ services.title }}
{% endblock %}
{% block content %}
<!--==============================
Breadcumb
============================== -->
{% if services.langue == 'fr_fr' and '/fr/' in app.request.uri %}
<div class=\"breadcumb-wrapper\"
style=\"background-image:linear-gradient(0deg, rgba(0, 0, 0, 0.54), rgba(30, 28, 29, 0.69)), url('{{ asset('content/media/' ~ services.bannerImg) }}')\">
<div class=\"container z-index-common\">
<div class=\"breadcumb-content\">
<h1 class=\"breadcumb-title\">{{ services.title }}</h1>
<div class=\"breadcumb-menu-wrap\">
<ul class=\"breadcumb-menu\">
<li><a href=\"{{ path('app_main') }}\">{{ \"Accueil\" | trans }}</a></li>
<li>{{ services.title }}</li>
</ul>
</div>
</div>
</div>
</div>
{% elseif service.langue == 'en_en' and '/en/' in app.request.uri %}
{% endif %}
<!--==============================
Service Details
==============================-->
<section class=\" space-top space-extra-bottom\">
<div class=\"container\">
<div class=\"row align-items-center\">
<div class=\"col-lg-6 wow fadeInUp\" data-wow-delay=\"0.3s\" style=\"margin-left: 50px;\">
<h2 class=\"sec-title col-xl-9\">{{ services.title }}</h2>
<p class=\"pe-3 fs-md\">{{ services.content | raw }}</p>
</div>
{% if '/fr/services/traduction' in app.request.uri %}
{{ include('services/_translation.html.twig') }}
{% endif %}
</div>
{{ include('partials/_calltoaction.html.twig') }}
</div>
</section>
{% endblock %}
", "services/show.html.twig", "/home/sc4cvak5897/app/linguafranca/templates/services/show.html.twig");
}
}