var/cache/dev/twig/59/596b35f89c5e1540dfdaeace0f8904cc.php line 38
<?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;
/* Default/service.html.twig */
class __TwigTemplate_5db616c93b4d581f207f48a98fee77c4 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 8
return "Default/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", "Default/service.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Default/service.html.twig"));
// line 1
$context["iconColor"] = "#1F4878";
// line 2
$context["titleColor"] = "#ffffff";
// line 3
$context["bgColor"] = "#81B0B1";
// line 4
$context["title"] = twig_get_attribute($this->env, $this->source, (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 4, $this->source); })()), "title", [], "any", false, false, false, 4);
// line 5
$context["desc"] = twig_get_attribute($this->env, $this->source, (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 5, $this->source); })()), "description", [], "any", false, false, false, 5);
// line 6
$context["menu"] = "services";
// line 7
$macros["macros"] = $this->macros["macros"] = $this->loadTemplate("Default/macros.html.twig", "Default/service.html.twig", 7)->unwrap();
// line 8
$this->parent = $this->loadTemplate("Default/base.html.twig", "Default/service.html.twig", 8);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 10
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 11
echo "<div class='";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("gpadding"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("hz-20-in"), "html", null, true);
echo " '>
<div class='bg-gray-alt ";
// line 12
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("padding-50 vt-40 radius-10"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("radius-5 vt-20"), "html", null, true);
echo " '>
<div class='";
// line 13
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("padding-3 "), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("padding-20"), "html", null, true);
echo " relative'>
\t\t\t<div class=''>
\t\t\t\t<h3 class=\"success upper ";
// line 15
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("bottom-30"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("bottom-15"), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 15, $this->source); })()), "title", [], "any", false, false, false, 15), "html", null, true);
echo "</h3>
\t\t\t\t";
// line 16
if (twig_get_attribute($this->env, $this->source, (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 16, $this->source); })()), "cost", [], "any", false, false, false, 16)) {
// line 17
echo "\t\t\t\t<div class=\"bottom-20 ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(""), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);
echo "\">
\t\t\t\t\t<span class=\"block upper medium p success right-20 ";
// line 18
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(""), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);
echo "\">coût</span>
\t\t\t\t\t<span class=\"block h4 bold success ";
// line 19
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(""), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 19, $this->source); })()), "cost", [], "any", false, false, false, 19), "html", null, true);
echo "</span>
\t\t\t\t</div>
\t\t\t\t";
}
// line 22
echo "\t\t\t\t";
if (twig_get_attribute($this->env, $this->source, (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 22, $this->source); })()), "time", [], "any", false, false, false, 22)) {
// line 23
echo "\t\t\t\t<div class=\"bottom-20 ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(""), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);
echo "\">
\t\t\t\t\t<span class=\"block upper medium p success right-20 ";
// line 24
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(""), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);
echo "\">Délai</span>
\t\t\t\t\t<span class=\"block h4 bold success ";
// line 25
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(""), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 25, $this->source); })()), "time", [], "any", false, false, false, 25), "html", null, true);
echo "</span>
\t\t\t\t</div>
\t\t\t\t";
}
// line 28
echo "\t\t\t\t";
if (twig_get_attribute($this->env, $this->source, (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 28, $this->source); })()), "department", [], "any", false, false, false, 28)) {
// line 29
echo "\t\t\t\t<div class=\"";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(""), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);
echo "\">
\t\t\t\t\t<span class=\"block upper medium p success right-20 ";
// line 30
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(""), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);
echo "\">Lieu</span>
\t\t\t\t\t<span class=\"block h4 bold success ";
// line 31
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(""), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 31, $this->source); })()), "department", [], "any", false, false, false, 31), "html", null, true);
echo "</span>
\t\t\t\t</div>
\t\t\t\t";
}
// line 34
echo "\t\t\t</div>
<span class='block w100 bg-white ";
// line 35
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("radius-10 top-5-in vt-30"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("radius-5 vt-20 top-3-in"), "html", null, true);
echo " text-left'></span>
<div class='w100 ";
// line 36
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(""), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);
echo " text-left'>
";
// line 37
if (twig_get_attribute($this->env, $this->source, (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 37, $this->source); })()), "description", [], "any", false, false, false, 37)) {
// line 38
echo " <h2><span class='h4 upper success-alt'>À Propos</span></h2>
<p class='h4 text-justify'>";
// line 39
echo twig_nl2br(twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 39, $this->source); })()), "description", [], "any", false, false, false, 39), "html", null, true));
echo "</p>
";
}
// line 41
echo "
";
// line 42
if (twig_get_attribute($this->env, $this->source, (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 42, $this->source); })()), "content", [], "any", false, false, false, 42)) {
// line 43
echo " <div class='article h4'>";
echo twig_get_attribute($this->env, $this->source, (isset($context["service"]) || array_key_exists("service", $context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.', 43, $this->source); })()), "content", [], "any", false, false, false, 43);
echo "</div>
";
}
// line 45
echo " </div>
</div>
</div>
\t";
// line 54
echo "</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Default/service.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 229 => 54, 224 => 45, 218 => 43, 216 => 42, 213 => 41, 208 => 39, 205 => 38, 203 => 37, 197 => 36, 191 => 35, 188 => 34, 178 => 31, 172 => 30, 165 => 29, 162 => 28, 152 => 25, 146 => 24, 139 => 23, 136 => 22, 126 => 19, 120 => 18, 113 => 17, 111 => 16, 103 => 15, 96 => 13, 90 => 12, 83 => 11, 73 => 10, 62 => 8, 60 => 7, 58 => 6, 56 => 5, 54 => 4, 52 => 3, 50 => 2, 48 => 1, 35 => 8,);
}
public function getSourceContext()
{
return new Source("{% set iconColor = \"#1F4878\" %}
{% set titleColor = \"#ffffff\" %}
{% set bgColor = \"#81B0B1\" %}
{% set title = service.title %}
{% set desc = service.description %}
{% set menu = 'services' %}
{% import \"Default/macros.html.twig\" as macros %}
{% extends 'Default/base.html.twig' %}
{% block content %}
<div class='{{desktop(\"gpadding\")}} {{mobile(\"hz-20-in\")}} '>
<div class='bg-gray-alt {{desktop(\"padding-50 vt-40 radius-10\")}} {{mobile(\"radius-5 vt-20\")}} '>
<div class='{{desktop(\"padding-3 \")}} {{mobile(\"padding-20\")}} relative'>
\t\t\t<div class=''>
\t\t\t\t<h3 class=\"success upper {{desktop('bottom-30')}} {{mobile('bottom-15')}}\">{{service.title}}</h3>
\t\t\t\t{% if service.cost %}
\t\t\t\t<div class=\"bottom-20 {{desktop('')}} {{mobile('')}}\">
\t\t\t\t\t<span class=\"block upper medium p success right-20 {{desktop('')}} {{mobile('')}}\">coût</span>
\t\t\t\t\t<span class=\"block h4 bold success {{desktop('')}} {{mobile('')}}\">{{service.cost}}</span>
\t\t\t\t</div>
\t\t\t\t{%endif%}
\t\t\t\t{% if service.time %}
\t\t\t\t<div class=\"bottom-20 {{desktop('')}} {{mobile('')}}\">
\t\t\t\t\t<span class=\"block upper medium p success right-20 {{desktop('')}} {{mobile('')}}\">Délai</span>
\t\t\t\t\t<span class=\"block h4 bold success {{desktop('')}} {{mobile('')}}\">{{service.time}}</span>
\t\t\t\t</div>
\t\t\t\t{%endif%}
\t\t\t\t{% if service.department %}
\t\t\t\t<div class=\"{{desktop('')}} {{mobile('')}}\">
\t\t\t\t\t<span class=\"block upper medium p success right-20 {{desktop('')}} {{mobile('')}}\">Lieu</span>
\t\t\t\t\t<span class=\"block h4 bold success {{desktop('')}} {{mobile('')}}\">{{service.department}}</span>
\t\t\t\t</div>
\t\t\t\t{%endif%}
\t\t\t</div>
<span class='block w100 bg-white {{desktop(\"radius-10 top-5-in vt-30\")}} {{mobile(\"radius-5 vt-20 top-3-in\")}} text-left'></span>
<div class='w100 {{desktop(\"\")}} {{mobile(\"\")}} text-left'>
{% if service.description %}
<h2><span class='h4 upper success-alt'>À Propos</span></h2>
<p class='h4 text-justify'>{{service.description|nl2br}}</p>
{% endif %}
{% if service.content %}
<div class='article h4'>{{service.content|raw}}</div>
{% endif %}
</div>
</div>
</div>
\t{#<h2 class=\"warning upper underline {{desktop('top-60 bottom-20')}} {{mobile('top-30 bottom-10')}}\">Autres services</h2>
\t<div class='flex row space wrap {{desktop(\"\")}} {{mobile(\"\")}}'>
{% for o in list %}
{{ macros.service(o)}}
{% endfor %}
</div>#}
</div>
{% endblock %}
", "Default/service.html.twig", "/home/olasoftnka/asin/templates/Default/service.html.twig");
}
}