var/cache/dev/twig/ea/ea0e43a1c7f6ada78fb1bf1cd6aafd5f.php line 104

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. /* pages/department.html.twig */
  14. class __TwigTemplate_4009e874728f86c84e662065f5b51304 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.             'body' => [$this'block_body'],
  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""pages/department.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""pages/department.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""pages/department.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 2
  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.         echo "département";
  55.         
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  57.         
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  59.     }
  60.     // line 4
  61.     public function block_body($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""body"));
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         // line 5
  69.         echo "\t<!-- page title -->
  70. \t<section class=\"page-title-section\" data-background=\"";
  71.         // line 6
  72.         echo twig_escape_filter($this->env$this->extensions['Vich\UploaderBundle\Twig\Extension\UploaderExtension']->asset((isset($context["img"]) || array_key_exists("img"$context) ? $context["img"] : (function () { throw new RuntimeError('Variable "img" does not exist.'6$this->source); })()), "imageFile"), "html"nulltrue);
  73.         echo "\">
  74. \t\t<div class=\"container\">
  75. \t\t\t<div class=\"row\">
  76. \t\t\t\t<div class=\"col-md-8\">
  77. \t\t\t\t\t<ul class=\"list-inline custom-breadcrumb mb-2\">
  78. \t\t\t\t\t\t<li class=\"list-inline-item\">
  79. \t\t\t\t\t\t\t<a class=\"h2 text-primary font-secondary\" href=\"index.html\">
  80. \t\t\t\t\t\t\t\tOrganigramme
  81. \t\t\t\t\t\t\t</a>
  82. \t\t\t\t\t\t</li>
  83. \t\t\t\t\t\t<li class=\"list-inline-item text-white h3 font-secondary nasted\">";
  84.         // line 16
  85.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["department"]) || array_key_exists("department"$context) ? $context["department"] : (function () { throw new RuntimeError('Variable "department" does not exist.'16$this->source); })()), "title", [], "any"falsefalsefalse16), "html"nulltrue);
  86.         echo "
  87. \t\t\t\t\t\t</li>
  88. \t\t\t\t\t</ul>
  89. \t\t\t\t</div>
  90. \t\t\t</div>
  91. \t\t</div>
  92. \t</section>
  93. \t<!-- teacher details -->
  94. \t<section class=\"section\">
  95. \t\t<div class=\"container\">
  96. \t\t\t<div class=\"row\">
  97. \t\t\t\t<div class=\"col-12\">
  98. \t\t\t\t\t<h4 class=\"mb-4\">";
  99.         // line 28
  100.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["department"]) || array_key_exists("department"$context) ? $context["department"] : (function () { throw new RuntimeError('Variable "department" does not exist.'28$this->source); })()), "title", [], "any"falsefalsefalse28), "html"nulltrue);
  101.         echo "
  102. \t\t\t\t\t</h4>
  103. \t\t\t\t\t<p class=\"mb-5\">";
  104.         // line 30
  105.         echo twig_nl2br(twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["department"]) || array_key_exists("department"$context) ? $context["department"] : (function () { throw new RuntimeError('Variable "department" does not exist.'30$this->source); })()), "description", [], "any"falsefalsefalse30), "html"nulltrue));
  106.         echo "
  107. \t\t\t\t\t</p>
  108. \t\t\t\t</div>
  109. \t\t\t</div>
  110. \t\t</div>
  111. \t</section>
  112. \t<!-- /teacher details -->
  113. ";
  114.         
  115.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  116.         
  117.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  118.     }
  119.     public function getTemplateName()
  120.     {
  121.         return "pages/department.html.twig";
  122.     }
  123.     public function isTraitable()
  124.     {
  125.         return false;
  126.     }
  127.     public function getDebugInfo()
  128.     {
  129.         return array (  124 => 30,  119 => 28,  104 => 16,  91 => 6,  88 => 5,  78 => 4,  59 => 2,  36 => 1,);
  130.     }
  131.     public function getSourceContext()
  132.     {
  133.         return new Source("{% extends 'base.html.twig' %}
  134. {% block title 'département' %}
  135. {% block body %}
  136. \t<!-- page title -->
  137. \t<section class=\"page-title-section\" data-background=\"{{ vich_uploader_asset(img, 'imageFile') }}\">
  138. \t\t<div class=\"container\">
  139. \t\t\t<div class=\"row\">
  140. \t\t\t\t<div class=\"col-md-8\">
  141. \t\t\t\t\t<ul class=\"list-inline custom-breadcrumb mb-2\">
  142. \t\t\t\t\t\t<li class=\"list-inline-item\">
  143. \t\t\t\t\t\t\t<a class=\"h2 text-primary font-secondary\" href=\"index.html\">
  144. \t\t\t\t\t\t\t\tOrganigramme
  145. \t\t\t\t\t\t\t</a>
  146. \t\t\t\t\t\t</li>
  147. \t\t\t\t\t\t<li class=\"list-inline-item text-white h3 font-secondary nasted\">{{department.title}}
  148. \t\t\t\t\t\t</li>
  149. \t\t\t\t\t</ul>
  150. \t\t\t\t</div>
  151. \t\t\t</div>
  152. \t\t</div>
  153. \t</section>
  154. \t<!-- teacher details -->
  155. \t<section class=\"section\">
  156. \t\t<div class=\"container\">
  157. \t\t\t<div class=\"row\">
  158. \t\t\t\t<div class=\"col-12\">
  159. \t\t\t\t\t<h4 class=\"mb-4\">{{department.title}}
  160. \t\t\t\t\t</h4>
  161. \t\t\t\t\t<p class=\"mb-5\">{{ department.description | nl2br }}
  162. \t\t\t\t\t</p>
  163. \t\t\t\t</div>
  164. \t\t\t</div>
  165. \t\t</div>
  166. \t</section>
  167. \t<!-- /teacher details -->
  168. {% endblock %}
  169. ""pages/department.html.twig""/home/crsatcd/public_html/templates/pages/department.html.twig");
  170.     }
  171. }