var/cache/dev/twig/2a/2a2a407109a62f51866a6c46d6143336e1b6efe4c25187b7dd77b465a4de33fa.php line 78

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. /* admin/base.html.twig */
  14. class __TwigTemplate_ab9f3538aef828251361a5bff6116bd0babc38b2d998e021eb30137b0b7fa7e5 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->parent false;
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'body' => [$this'block_body'],
  27.             'javascripts' => [$this'block_javascripts'],
  28.         ];
  29.     }
  30.     protected function doDisplay(array $context, array $blocks = [])
  31.     {
  32.         $macros $this->macros;
  33.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""admin/base.html.twig"));
  35.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""admin/base.html.twig"));
  37.         // line 1
  38.         echo "<!DOCTYPE html>
  39. <html>
  40. <head>
  41.     <meta charset=\"UTF-8\">
  42.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  43.     <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">
  44.     <meta name=\"robots\" content=\"noindex,nofollow\">
  45.     <meta name=\"AdsBot-Google\" content=\"noindex\">
  46.     <title>Al Kunuz - Admin - ";
  47.         // line 9
  48.         $this->displayBlock('title'$context$blocks);
  49.         echo "</title>
  50.     <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css\" integrity=\"sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T\" crossorigin=\"anonymous\">
  51.     <link href=\"https://fonts.googleapis.com/css?family=Open+Sans\" rel=\"stylesheet\">
  52.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.8.1/css/all.css\" integrity=\"sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf\" crossorigin=\"anonymous\">
  53.     <link rel=\"stylesheet\" href=\"";
  54.         // line 13
  55.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/app.css"), "html"nulltrue);
  56.         echo "\">
  57.     <link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"";
  58.         // line 14
  59.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("image/al-kunuz_favicon.ico"), "html"nulltrue);
  60.         echo "\" />
  61.     ";
  62.         // line 15
  63.         $this->displayBlock('stylesheets'$context$blocks);
  64.         // line 16
  65.         echo "</head>
  66. <body>
  67. ";
  68.         // line 18
  69.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PREVIOUS_ADMIN")) {
  70.             // line 19
  71.             echo "    <div class=\"alert alert-warning\" style=\"margin-bottom: 0;\">
  72.         🚨 <strong>";
  73.             // line 20
  74.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("ATTENTION : Vous êtes connecté en tant que cet élève. Une fois l'action réalisée", [], "messages");
  75.             echo ":
  76.             <a href=\"";
  77.             // line 21
  78.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_subscription_index", ["_switch_user" => "_exit"]);
  79.             // line 23
  80.             echo "\">";
  81.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Déconnectez-vous du compte de l'élève", [], "messages");
  82.             echo "</a></strong>
  83.     </div>
  84. ";
  85.         }
  86.         // line 26
  87.         echo "<div class=\"content-main\">
  88.     <!-- Navigation -->
  89.     ";
  90.         // line 28
  91.         $this->loadTemplate("admin/partials/header.html.twig""admin/base.html.twig"28)->display($context);
  92.         // line 29
  93.         echo "    <!-- End Navigation -->
  94.     <!-- Fash Message -->
  95.     <div class=\"container\">
  96.         ";
  97.         // line 32
  98.         $context['_parent'] = $context;
  99.         $context['_seq'] = twig_ensure_traversable(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.'32$this->source); })()), "flashes", [=> "success"], "method"falsefalsefalse32));
  100.         foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  101.             // line 33
  102.             echo "            <div class=\"alert alert-success\">
  103.                 ";
  104.             // line 34
  105.             echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  106.             echo "
  107.             </div>
  108.         ";
  109.         }
  110.         $_parent $context['_parent'];
  111.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  112.         $context array_intersect_key($context$_parent) + $_parent;
  113.         // line 37
  114.         echo "        ";
  115.         $context['_parent'] = $context;
  116.         $context['_seq'] = twig_ensure_traversable(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.'37$this->source); })()), "flashes", [=> "error"], "method"falsefalsefalse37));
  117.         foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  118.             // line 38
  119.             echo "            <div class=\"alert alert-danger\">
  120.                 ";
  121.             // line 39
  122.             echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  123.             echo "
  124.             </div>
  125.         ";
  126.         }
  127.         $_parent $context['_parent'];
  128.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  129.         $context array_intersect_key($context$_parent) + $_parent;
  130.         // line 42
  131.         echo "    </div>
  132.     <!-- End Fash Message -->
  133.     ";
  134.         // line 44
  135.         $this->displayBlock('body'$context$blocks);
  136.         // line 47
  137.         echo "    ";
  138.         echo twig_include($this->env$context"profil/partials/footer.html.twig");
  139.         echo "
  140.     <!-- Bootstrap JavaScript -->
  141.     <script src=\"https://code.jquery.com/jquery-3.3.1.min.js\" integrity=\"sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=\" crossorigin=\"anonymous\"></script>
  142.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js\" integrity=\"sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1\" crossorigin=\"anonymous\"></script>
  143.     <script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js\" integrity=\"sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM\" crossorigin=\"anonymous\"></script>
  144.     ";
  145.         // line 56
  146.         $this->displayBlock('javascripts'$context$blocks);
  147.         // line 57
  148.         echo "</div>
  149. </body>
  150. </html>
  151. ";
  152.         
  153.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  154.         
  155.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  156.     }
  157.     // line 9
  158.     public function block_title($context, array $blocks = [])
  159.     {
  160.         $macros $this->macros;
  161.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  162.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  163.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  164.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  165.         
  166.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  167.         
  168.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  169.     }
  170.     // line 15
  171.     public function block_stylesheets($context, array $blocks = [])
  172.     {
  173.         $macros $this->macros;
  174.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  175.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  176.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  177.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  178.         
  179.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  180.         
  181.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  182.     }
  183.     // line 44
  184.     public function block_body($context, array $blocks = [])
  185.     {
  186.         $macros $this->macros;
  187.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  188.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  189.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  190.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  191.         // line 45
  192.         echo "
  193.     ";
  194.         
  195.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  196.         
  197.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  198.     }
  199.     // line 56
  200.     public function block_javascripts($context, array $blocks = [])
  201.     {
  202.         $macros $this->macros;
  203.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  204.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  205.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  206.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  207.         
  208.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  209.         
  210.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  211.     }
  212.     public function getTemplateName()
  213.     {
  214.         return "admin/base.html.twig";
  215.     }
  216.     public function isTraitable()
  217.     {
  218.         return false;
  219.     }
  220.     public function getDebugInfo()
  221.     {
  222.         return array (  232 => 56,  221 => 45,  211 => 44,  193 => 15,  175 => 9,  161 => 57,  159 => 56,  146 => 47,  144 => 44,  140 => 42,  131 => 39,  128 => 38,  123 => 37,  114 => 34,  111 => 33,  107 => 32,  102 => 29,  100 => 28,  96 => 26,  89 => 23,  87 => 21,  83 => 20,  80 => 19,  78 => 18,  74 => 16,  72 => 15,  68 => 14,  64 => 13,  57 => 9,  47 => 1,);
  223.     }
  224.     public function getSourceContext()
  225.     {
  226.         return new Source("<!DOCTYPE html>
  227. <html>
  228. <head>
  229.     <meta charset=\"UTF-8\">
  230.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  231.     <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">
  232.     <meta name=\"robots\" content=\"noindex,nofollow\">
  233.     <meta name=\"AdsBot-Google\" content=\"noindex\">
  234.     <title>Al Kunuz - Admin - {% block title %}{% endblock %}</title>
  235.     <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css\" integrity=\"sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T\" crossorigin=\"anonymous\">
  236.     <link href=\"https://fonts.googleapis.com/css?family=Open+Sans\" rel=\"stylesheet\">
  237.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.8.1/css/all.css\" integrity=\"sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf\" crossorigin=\"anonymous\">
  238.     <link rel=\"stylesheet\" href=\"{{ asset('css/app.css') }}\">
  239.     <link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"{{ asset('image/al-kunuz_favicon.ico') }}\" />
  240.     {% block stylesheets %}{% endblock %}
  241. </head>
  242. <body>
  243. {% if is_granted('ROLE_PREVIOUS_ADMIN')  %}
  244.     <div class=\"alert alert-warning\" style=\"margin-bottom: 0;\">
  245.         🚨 <strong>{% trans %}ATTENTION : Vous êtes connecté en tant que cet élève. Une fois l'action réalisée {% endtrans %}:
  246.             <a href=\"{{ path('admin_subscription_index', {
  247.                 '_switch_user': '_exit'
  248.             }) }}\">{% trans %}Déconnectez-vous du compte de l'élève{% endtrans %}</a></strong>
  249.     </div>
  250. {% endif %}
  251. <div class=\"content-main\">
  252.     <!-- Navigation -->
  253.     {% include('admin/partials/header.html.twig') %}
  254.     <!-- End Navigation -->
  255.     <!-- Fash Message -->
  256.     <div class=\"container\">
  257.         {% for message in app.flashes('success') %}
  258.             <div class=\"alert alert-success\">
  259.                 {{ message }}
  260.             </div>
  261.         {% endfor %}
  262.         {% for message in app.flashes('error') %}
  263.             <div class=\"alert alert-danger\">
  264.                 {{ message }}
  265.             </div>
  266.         {% endfor %}
  267.     </div>
  268.     <!-- End Fash Message -->
  269.     {% block body %}
  270.     {% endblock %}
  271.     {{ include('profil/partials/footer.html.twig') }}
  272.     <!-- Bootstrap JavaScript -->
  273.     <script src=\"https://code.jquery.com/jquery-3.3.1.min.js\" integrity=\"sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=\" crossorigin=\"anonymous\"></script>
  274.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js\" integrity=\"sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1\" crossorigin=\"anonymous\"></script>
  275.     <script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js\" integrity=\"sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM\" crossorigin=\"anonymous\"></script>
  276.     {% block javascripts %}{% endblock %}
  277. </div>
  278. </body>
  279. </html>
  280. ""admin/base.html.twig""/home/staging/deploy/releases/163/templates/admin/base.html.twig");
  281.     }
  282. }