var/cache/dev/twig/59/596b35f89c5e1540dfdaeace0f8904cc.php line 38

  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. /* Default/service.html.twig */
  14. class __TwigTemplate_5db616c93b4d581f207f48a98fee77c4 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.             'content' => [$this'block_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 8
  29.         return "Default/base.html.twig";
  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""Default/service.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""Default/service.html.twig"));
  38.         // line 1
  39.         $context["iconColor"] = "#1F4878";
  40.         // line 2
  41.         $context["titleColor"] = "#ffffff";
  42.         // line 3
  43.         $context["bgColor"] = "#81B0B1";
  44.         // line 4
  45.         $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"falsefalsefalse4);
  46.         // line 5
  47.         $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"falsefalsefalse5);
  48.         // line 6
  49.         $context["menu"] = "services";
  50.         // line 7
  51.         $macros["macros"] = $this->macros["macros"] = $this->loadTemplate("Default/macros.html.twig""Default/service.html.twig"7)->unwrap();
  52.         // line 8
  53.         $this->parent $this->loadTemplate("Default/base.html.twig""Default/service.html.twig"8);
  54.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  55.         
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  57.         
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  59.     }
  60.     // line 10
  61.     public function block_content($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  68.         // line 11
  69.         echo "<div class='";
  70.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("gpadding"), "html"nulltrue);
  71.         echo " ";
  72.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("hz-20-in"), "html"nulltrue);
  73.         echo " '>
  74.     <div class='bg-gray-alt ";
  75.         // line 12
  76.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("padding-50 vt-40 radius-10"), "html"nulltrue);
  77.         echo " ";
  78.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("radius-5 vt-20"), "html"nulltrue);
  79.         echo " '>
  80.         <div class='";
  81.         // line 13
  82.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("padding-3 "), "html"nulltrue);
  83.         echo " ";
  84.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("padding-20"), "html"nulltrue);
  85.         echo " relative'>
  86. \t\t\t<div class=''>                
  87. \t\t\t\t<h3 class=\"success upper ";
  88.         // line 15
  89.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("bottom-30"), "html"nulltrue);
  90.         echo " ";
  91.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("bottom-15"), "html"nulltrue);
  92.         echo "\">";
  93.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse15), "html"nulltrue);
  94.         echo "</h3>
  95. \t\t\t\t";
  96.         // line 16
  97.         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"falsefalsefalse16)) {
  98.             // line 17
  99.             echo "\t\t\t\t<div class=\"bottom-20 ";
  100.             echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()(""), "html"nulltrue);
  101.             echo " ";
  102.             echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()(""), "html"nulltrue);
  103.             echo "\">
  104. \t\t\t\t\t<span class=\"block upper medium p success right-20 ";
  105.             // line 18
  106.             echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()(""), "html"nulltrue);
  107.             echo " ";
  108.             echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()(""), "html"nulltrue);
  109.             echo "\">coût</span>
  110. \t\t\t\t\t<span class=\"block h4 bold success ";
  111.             // line 19
  112.             echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()(""), "html"nulltrue);
  113.             echo " ";
  114.             echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()(""), "html"nulltrue);
  115.             echo "\">";
  116.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse19), "html"nulltrue);
  117.             echo "</span>
  118. \t\t\t\t</div>
  119. \t\t\t\t";
  120.         }
  121.         // line 22
  122.         echo "\t\t\t\t";
  123.         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"falsefalsefalse22)) {
  124.             // line 23
  125.             echo "\t\t\t\t<div class=\"bottom-20 ";
  126.             echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()(""), "html"nulltrue);
  127.             echo " ";
  128.             echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()(""), "html"nulltrue);
  129.             echo "\">
  130. \t\t\t\t\t<span class=\"block upper medium p success right-20 ";
  131.             // line 24
  132.             echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()(""), "html"nulltrue);
  133.             echo " ";
  134.             echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()(""), "html"nulltrue);
  135.             echo "\">Délai</span>
  136. \t\t\t\t\t<span class=\"block h4 bold success ";
  137.             // line 25
  138.             echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()(""), "html"nulltrue);
  139.             echo " ";
  140.             echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()(""), "html"nulltrue);
  141.             echo "\">";
  142.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse25), "html"nulltrue);
  143.             echo "</span>
  144. \t\t\t\t</div>
  145. \t\t\t\t";
  146.         }
  147.         // line 28
  148.         echo "\t\t\t\t";
  149.         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"falsefalsefalse28)) {
  150.             // line 29
  151.             echo "\t\t\t\t<div class=\"";
  152.             echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()(""), "html"nulltrue);
  153.             echo " ";
  154.             echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()(""), "html"nulltrue);
  155.             echo "\">
  156. \t\t\t\t\t<span class=\"block upper medium p success right-20 ";
  157.             // line 30
  158.             echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()(""), "html"nulltrue);
  159.             echo " ";
  160.             echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()(""), "html"nulltrue);
  161.             echo "\">Lieu</span>
  162. \t\t\t\t\t<span class=\"block h4 bold success ";
  163.             // line 31
  164.             echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()(""), "html"nulltrue);
  165.             echo " ";
  166.             echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()(""), "html"nulltrue);
  167.             echo "\">";
  168.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse31), "html"nulltrue);
  169.             echo "</span>
  170. \t\t\t\t</div>
  171. \t\t\t\t";
  172.         }
  173.         // line 34
  174.         echo "\t\t\t</div>
  175.             <span class='block w100 bg-white ";
  176.         // line 35
  177.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("radius-10 top-5-in vt-30"), "html"nulltrue);
  178.         echo " ";
  179.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("radius-5 vt-20 top-3-in"), "html"nulltrue);
  180.         echo " text-left'></span>
  181.             <div class='w100 ";
  182.         // line 36
  183.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()(""), "html"nulltrue);
  184.         echo " ";
  185.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()(""), "html"nulltrue);
  186.         echo " text-left'>
  187.                 ";
  188.         // line 37
  189.         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"falsefalsefalse37)) {
  190.             // line 38
  191.             echo "                <h2><span class='h4 upper success-alt'>À Propos</span></h2>
  192.                 <p class='h4 text-justify'>";
  193.             // line 39
  194.             echo twig_nl2br(twig_escape_filter($this->envtwig_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"falsefalsefalse39), "html"nulltrue));
  195.             echo "</p>
  196.                 ";
  197.         }
  198.         // line 41
  199.         echo "                
  200.                 ";
  201.         // line 42
  202.         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"falsefalsefalse42)) {
  203.             // line 43
  204.             echo "                <div class='article h4'>";
  205.             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"falsefalsefalse43);
  206.             echo "</div>
  207.                 ";
  208.         }
  209.         // line 45
  210.         echo "            </div>
  211.         </div>
  212.     </div>
  213. \t";
  214.         // line 54
  215.         echo "</div>
  216. ";
  217.         
  218.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  219.         
  220.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  221.     }
  222.     public function getTemplateName()
  223.     {
  224.         return "Default/service.html.twig";
  225.     }
  226.     public function isTraitable()
  227.     {
  228.         return false;
  229.     }
  230.     public function getDebugInfo()
  231.     {
  232.         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,);
  233.     }
  234.     public function getSourceContext()
  235.     {
  236.         return new Source("{% set iconColor = \"#1F4878\" %}
  237. {% set titleColor = \"#ffffff\" %} 
  238. {% set bgColor = \"#81B0B1\" %}
  239. {% set title =  service.title  %}
  240. {% set desc = service.description  %}
  241. {% set menu = 'services' %}
  242. {% import \"Default/macros.html.twig\" as macros %}
  243. {% extends 'Default/base.html.twig' %}
  244. {% block content %}
  245. <div class='{{desktop(\"gpadding\")}} {{mobile(\"hz-20-in\")}} '>
  246.     <div class='bg-gray-alt {{desktop(\"padding-50 vt-40 radius-10\")}} {{mobile(\"radius-5 vt-20\")}} '>
  247.         <div class='{{desktop(\"padding-3 \")}} {{mobile(\"padding-20\")}} relative'>
  248. \t\t\t<div class=''>                
  249. \t\t\t\t<h3 class=\"success upper {{desktop('bottom-30')}} {{mobile('bottom-15')}}\">{{service.title}}</h3>
  250. \t\t\t\t{% if service.cost %}
  251. \t\t\t\t<div class=\"bottom-20 {{desktop('')}} {{mobile('')}}\">
  252. \t\t\t\t\t<span class=\"block upper medium p success right-20 {{desktop('')}} {{mobile('')}}\">coût</span>
  253. \t\t\t\t\t<span class=\"block h4 bold success {{desktop('')}} {{mobile('')}}\">{{service.cost}}</span>
  254. \t\t\t\t</div>
  255. \t\t\t\t{%endif%}
  256. \t\t\t\t{% if service.time %}
  257. \t\t\t\t<div class=\"bottom-20 {{desktop('')}} {{mobile('')}}\">
  258. \t\t\t\t\t<span class=\"block upper medium p success right-20 {{desktop('')}} {{mobile('')}}\">Délai</span>
  259. \t\t\t\t\t<span class=\"block h4 bold success {{desktop('')}} {{mobile('')}}\">{{service.time}}</span>
  260. \t\t\t\t</div>
  261. \t\t\t\t{%endif%}
  262. \t\t\t\t{% if service.department %}
  263. \t\t\t\t<div class=\"{{desktop('')}} {{mobile('')}}\">
  264. \t\t\t\t\t<span class=\"block upper medium p success right-20 {{desktop('')}} {{mobile('')}}\">Lieu</span>
  265. \t\t\t\t\t<span class=\"block h4 bold success {{desktop('')}} {{mobile('')}}\">{{service.department}}</span>
  266. \t\t\t\t</div>
  267. \t\t\t\t{%endif%}
  268. \t\t\t</div>
  269.             <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>
  270.             <div class='w100 {{desktop(\"\")}} {{mobile(\"\")}} text-left'>
  271.                 {% if service.description %}
  272.                 <h2><span class='h4 upper success-alt'>À Propos</span></h2>
  273.                 <p class='h4 text-justify'>{{service.description|nl2br}}</p>
  274.                 {% endif %}
  275.                 
  276.                 {% if service.content %}
  277.                 <div class='article h4'>{{service.content|raw}}</div>
  278.                 {% endif %}
  279.             </div>
  280.         </div>
  281.     </div>
  282. \t{#<h2 class=\"warning upper underline {{desktop('top-60 bottom-20')}} {{mobile('top-30 bottom-10')}}\">Autres services</h2>
  283. \t<div class='flex row space wrap {{desktop(\"\")}} {{mobile(\"\")}}'>
  284.         {% for o in list %}
  285.         {{ macros.service(o)}}
  286.         {% endfor %}
  287.     </div>#}
  288. </div>
  289. {% endblock %}
  290. ""Default/service.html.twig""/home/olasoftnka/asin/templates/Default/service.html.twig");
  291.     }
  292. }