var/cache/dev/twig/90/90bf69b0dcb05bcc2702a19501eec557.php line 56

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* admin/experience/list/listExperiences.html.twig */
  15. class __TwigTemplate_6d5a1707810393f637e02af3423c0f1b extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'page_title' => [$this'block_page_title'],
  25.             'breadcump_main' => [$this'block_breadcump_main'],
  26.             'breadcump_subtitle' => [$this'block_breadcump_subtitle'],
  27.             'menu_left_sidebar' => [$this'block_menu_left_sidebar'],
  28.             'stylesheets' => [$this'block_stylesheets'],
  29.             'title' => [$this'block_title'],
  30.             'content' => [$this'block_content'],
  31.             'javascripts' => [$this'block_javascripts'],
  32.         ];
  33.     }
  34.     protected function doGetParent(array $context)
  35.     {
  36.         // line 1
  37.         return "admin/baseAdmin.html.twig";
  38.     }
  39.     protected function doDisplay(array $context, array $blocks = [])
  40.     {
  41.         $macros $this->macros;
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""admin/experience/list/listExperiences.html.twig"));
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""admin/experience/list/listExperiences.html.twig"));
  46.         $this->parent $this->loadTemplate("admin/baseAdmin.html.twig""admin/experience/list/listExperiences.html.twig"1);
  47.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  50.         
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  52.     }
  53.     // line 2
  54.     public function block_page_title($context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  61.         yield "Comptes Experiences";
  62.         
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  64.         
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  66.         return; yield '';
  67.     }
  68.     // line 3
  69.     public function block_breadcump_main($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_main"));
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_main"));
  76.         yield "Experiences";
  77.         
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  79.         
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  81.         return; yield '';
  82.     }
  83.     // line 4
  84.     public function block_breadcump_subtitle($context, array $blocks = [])
  85.     {
  86.         $macros $this->macros;
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  88.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_subtitle"));
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  90.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_subtitle"));
  91.         yield "Liste des Experiences";
  92.         
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  94.         
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  96.         return; yield '';
  97.     }
  98.     // line 5
  99.     public function block_menu_left_sidebar($context, array $blocks = [])
  100.     {
  101.         $macros $this->macros;
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  103.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu_left_sidebar"));
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  105.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu_left_sidebar"));
  106.         // line 6
  107.         yield "    ";
  108.         yield from         $this->loadTemplate("include/menu/menuAdmin.html.twig""admin/experience/list/listExperiences.html.twig"6)->unwrap()->yield(CoreExtension::merge($context, ["menu_active_event" => "3"]));
  109.         
  110.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  111.         
  112.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  113.         return; yield '';
  114.     }
  115.     // line 8
  116.     public function block_stylesheets($context, array $blocks = [])
  117.     {
  118.         $macros $this->macros;
  119.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  120.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  123.         // line 9
  124.         yield "    <link href=\"";
  125.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/select2/css/select2.min.css"), "html"nulltrue);
  126.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  127.     <link href=\"";
  128.         // line 10
  129.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/bootstrap-datepicker/css/bootstrap-datepicker.min.css"), "html"nulltrue);
  130.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  131.     <link href=\"";
  132.         // line 11
  133.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/datatables.net-bs4/css/dataTables.bootstrap4.min.css"), "html"nulltrue);
  134.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  135.     <link href=\"";
  136.         // line 12
  137.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/datatables.net-responsive-bs4/css/responsive.bootstrap4.min.css"), "html"nulltrue);
  138.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  139. ";
  140.         
  141.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  142.         
  143.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  144.         return; yield '';
  145.     }
  146.     // line 14
  147.     public function block_title($context, array $blocks = [])
  148.     {
  149.         $macros $this->macros;
  150.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  151.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  152.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  153.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  154.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Liste des Experiences"), "html"nulltrue);
  155.         
  156.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  157.         
  158.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  159.         return; yield '';
  160.     }
  161.     // line 15
  162.     public function block_content($context, array $blocks = [])
  163.     {
  164.         $macros $this->macros;
  165.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  166.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  167.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  168.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  169.         // line 16
  170.         yield "                <div class=\"row\">
  171.                     <div class=\"col-lg-12\">
  172.                         <div class=\"card\">
  173.                             <div class=\"card-body\">
  174.                                 <h4 class=\"card-title mb-3\">Experiences</h4>
  175.                                 <!-- Nav tabs -->
  176.                                 <!-- Tab panes -->
  177.                                 <div class=\"tab-content p-3\">
  178.                                     <div class=\"tab-pane active\" id=\"all-order\" role=\"tabpanel\">
  179.                                         <form method=\"post\" action=\"";
  180.         // line 28
  181.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("experiences_list");
  182.         yield "\">
  183.                                             <div class=\"row\">
  184.                                                 <div class=\"col-xl col-sm-6\">
  185.                                                     <div class=\"mb-3\">
  186.                                                         <label class=\"form-label\">Coach</label>
  187.                                                         <select class=\"form-control select2\">
  188.                                                             <option>Select</option>
  189.                                                             <optgroup label=\"Coaches\">
  190.                                                                 ";
  191.         // line 37
  192.         $context['_parent'] = $context;
  193.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["coaches"]) || array_key_exists("coaches"$context) ? $context["coaches"] : (function () { throw new RuntimeError('Variable "coaches" does not exist.'37$this->source); })()));
  194.         foreach ($context['_seq'] as $context["_key"] => $context["coache"]) {
  195.             // line 38
  196.             yield "                                                                    <option value=\"";
  197.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["coache"], "id", [], "any"falsefalsefalse38), "html"nulltrue);
  198.             yield "\" ";
  199.             yield (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'38$this->source); })()), "request", [], "any"falsefalsefalse38), "get", ["coache"], "method"falsefalsefalse38) == CoreExtension::getAttribute($this->env$this->source$context["coache"], "id", [], "any"falsefalsefalse38))) ? ("selected") : (""));
  200.             yield ">
  201.                                                                         ";
  202.             // line 39
  203.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["coache"], "firstname", [], "any"falsefalsefalse39), "html"nulltrue);
  204.             yield " - ";
  205.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["coache"], "lastname", [], "any"falsefalsefalse39), "html"nulltrue);
  206.             yield "
  207.                                                                     </option>
  208.                                                                 ";
  209.         }
  210.         $_parent $context['_parent'];
  211.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['coache'], $context['_parent'], $context['loop']);
  212.         $context array_intersect_key($context$_parent) + $_parent;
  213.         // line 42
  214.         yield "                                                            </optgroup>
  215.                                                         </select>
  216.                                                     </div>
  217.                                                 </div>
  218.                                                 <div class=\"col-xl col-sm-6\">
  219.                                                     <div class=\"mb-3\">
  220.                                                         <label class=\"form-label\">Type de coaching :</label>
  221.                                                         <select class=\"form-control\" name=\"typeCoach\">
  222.                                                             <option value=\"\">— Tous —</option>
  223.                                                             <option value=\"private\"   ";
  224.         // line 53
  225.         yield (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'53$this->source); })()), "request", [], "any"falsefalsefalse53), "get", ["typeCoach"], "method"falsefalsefalse53) == "private")) ? ("selected") : (""));
  226.         yield ">Coaching Privé</option>
  227.                                                             <option value=\"groupe\"    ";
  228.         // line 54
  229.         yield (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'54$this->source); })()), "request", [], "any"falsefalsefalse54), "get", ["typeCoach"], "method"falsefalsefalse54) == "groupe")) ? ("selected") : (""));
  230.         yield ">Coaching en groupe</option>
  231.                                                             <option value=\"visio\"     ";
  232.         // line 55
  233.         yield (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'55$this->source); })()), "request", [], "any"falsefalsefalse55), "get", ["typeCoach"], "method"falsefalsefalse55) == "visio")) ? ("selected") : (""));
  234.         yield ">Coaching par Visio</option>
  235.                                                         </select>
  236.                                                     </div>
  237.                                                 </div>
  238.                                                 <div class=\"col-xl col-sm-6\">
  239.                                                     <div class=\"mb-3\">
  240.                                                         <label class=\"form-label\">Catégorie :</label>
  241.                                                         <select class=\"form-control\" name=\"category\">
  242.                                                             <option value=\"\">— Toutes —</option>
  243.                                                             ";
  244.         // line 65
  245.         $context['_parent'] = $context;
  246.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["categories"]) || array_key_exists("categories"$context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.'65$this->source); })()));
  247.         foreach ($context['_seq'] as $context["_key"] => $context["categorie"]) {
  248.             // line 66
  249.             yield "                                                                <option value=\"";
  250.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["categorie"], "id", [], "any"falsefalsefalse66), "html"nulltrue);
  251.             yield "\" ";
  252.             yield (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'66$this->source); })()), "request", [], "any"falsefalsefalse66), "get", ["category"], "method"falsefalsefalse66) == CoreExtension::getAttribute($this->env$this->source$context["categorie"], "id", [], "any"falsefalsefalse66))) ? ("selected") : (""));
  253.             yield ">
  254.                                                                     ";
  255.             // line 67
  256.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["categorie"], "name", [], "any"falsefalsefalse67), "html"nulltrue);
  257.             yield "
  258.                                                                 </option>
  259.                                                             ";
  260.         }
  261.         $_parent $context['_parent'];
  262.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['categorie'], $context['_parent'], $context['loop']);
  263.         $context array_intersect_key($context$_parent) + $_parent;
  264.         // line 70
  265.         yield "                                                        </select>
  266.                                                     </div>
  267.                                                 </div>
  268.                                                 <div class=\"col-xl col-sm-6 align-self-end\">
  269.                                                     <div class=\"mb-3\">
  270.                                                         <button type=\"submit\" class=\"btn btn-primary w-md\">Filter</button>
  271.                                                     </div>
  272.                                                 </div>
  273.                                             </div>
  274.                                         </form>
  275.                                         <div class=\"table-responsive mt-2\">
  276.                                             <table class=\"table table-hover datatable dt-responsive nowrap\" style=\"border-collapse: collapse; border-spacing: 0; width: 100%;\">
  277.                                                 <thead>
  278.                                                 <tr>
  279.                                                     <th scope=\"col\">#</th>
  280.                                                     <th scope=\"col\">Titre</th>
  281.                                                     <th scope=\"col\">Prix</th>
  282.                                                     <th scope=\"col\">Description</th>
  283.                                                     <th scope=\"col\">Type de coaching</th>
  284.                                                     <th scope=\"col\">Status</th>
  285.                                                     <th scope=\"col\">Coach</th>
  286.                                                     <th class=\"p-3 font-semibold text-13 ltr:text-left rtl:text-right\" style=\"width: 120px;\">Action</th>
  287.                                                 </tr>
  288.                                                 </thead>
  289.                                                 <tbody>
  290.                                                 ";
  291.         // line 100
  292.         $context['_parent'] = $context;
  293.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["experiences"]) || array_key_exists("experiences"$context) ? $context["experiences"] : (function () { throw new RuntimeError('Variable "experiences" does not exist.'100$this->source); })()));
  294.         foreach ($context['_seq'] as $context["_key"] => $context["experience"]) {
  295.             // line 101
  296.             yield "                                                    <tr>
  297.                                                         <td>
  298.                                                             <img class=\"object-cover\" src=\"";
  299.             // line 103
  300.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("" CoreExtension::getAttribute($this->env$this->source$context["experience"], "image", [], "any"falsefalsefalse103))), "html"nulltrue);
  301.             yield "\" alt=\"\" width=\"96px\" height=\"64px\">
  302.                                                         </td>
  303.                                                     <td>";
  304.             // line 105
  305.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["experience"], "title", [], "any"falsefalsefalse105), "html"nulltrue);
  306.             yield "</td>
  307.                                                     <td>";
  308.             // line 106
  309.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["experience"], "price", [], "any"falsefalsefalse106), "html"nulltrue);
  310.             yield " ";
  311.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["experience"], "currency", [], "any"falsefalsefalse106), "html"nulltrue);
  312.             yield "</td>
  313.                                                     <td>";
  314.             // line 107
  315.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$this->extensions['Twig\Extra\String\StringExtension']->createUnicodeString(CoreExtension::getAttribute($this->env$this->source$context["experience"], "description", [], "any"falsefalsefalse107)), "truncate", [30"…"], "method"falsefalsefalse107), "html"nulltrue);
  316.             yield "</td>
  317.                                                     <td>";
  318.             // line 108
  319.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["experience"], "coachingtype", [], "any"falsefalsefalse108), "html"nulltrue);
  320.             yield "</td>
  321.                                                     <td> ";
  322.             // line 109
  323.             if ( !(null === CoreExtension::getAttribute($this->env$this->source$context["experience"], "enabled", [], "any"falsefalsefalse109))) {
  324.                 // line 110
  325.                 yield "                                                            ";
  326.                 yield ((CoreExtension::getAttribute($this->env$this->source$context["experience"], "enabled", [], "any"falsefalsefalse110)) ? ("<span class=\"badge bg-success font-size-10\">Disponible</span>") : ("<span class=\"badge bg-danger font-size-10\">Occupe</span>"));
  327.                 yield "
  328.                                                         ";
  329.             } else {
  330.                 // line 112
  331.                 yield "                                                            &mdash;
  332.                                                         ";
  333.             }
  334.             // line 114
  335.             yield "                                                    </td>
  336.                                                     <td>Hicham";
  337.             // line 115
  338.             yield "</td>
  339.                                                         <td class=\"p-3 ltr:text-left rtl:text-right\">
  340.                                                         <div class=\"relative dropdown\">
  341.                                                             <button class=\"p-0 text-gray-700 border-0 btn dropdown-toggle dark:text-zink-200 \" type=\"button\" data-bs-toggle=\"dropdown\" id=\"dropdownMenuButton1\">
  342.                                                                 <i class=\"bx bx-dots-horizontal font-medium text-15\"></i>
  343.                                                             </button>
  344.                                                             <ul class=\"absolute right-0 left-auto top-auto z-20 hidden w-44 py-1.5 text-left list-none bg-white border border-transparent rounded shadow-lg dropdown-menu bg-clip-padding dark:bg-zink-700 dark:border-zink-50 dark:text-zink-200\" aria-labelledby=\"dropdownMenuButton1\">
  345.                                                                 <li><a class=\"bg-transparent dropdown-item font-normal flex items-center hover:bg-gray-50 px-6 py-1.5 text-13 text-gray-700 w-full whitespace-nowrap\" href=\"";
  346.             // line 122
  347.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("exp_overview", ["id" => CoreExtension::getAttribute($this->env$this->source$context["experience"], "id", [], "any"falsefalsefalse122)]), "html"nulltrue);
  348.             yield "\"><i class=\"bx bx-pencil text-16 text-green-500 me-2 \"></i> Overview</a>
  349.                                                                 </li>
  350.                                                                 <li><a class=\"bg-transparent dropdown-item font-normal flex items-center hover:bg-gray-50 px-6 py-1.5 text-13 text-gray-700 w-full whitespace-nowrap\" href=\"#\"> <i class=\"bx bx-lock-alt text-16 text-gray-500 me-2\"></i>Securite</a>
  351.                                                                 </li>
  352.                                                                 <li><a class=\"bg-transparent dropdown-item font-normal flex items-center hover:bg-gray-50 px-6 py-1.5 text-13 text-gray-700 w-full whitespace-nowrap\" href=\"#\"> <i class=\"bx bx-trash-alt text-16 text-red-500 me-2\"></i>Remove</a>
  353.                                                                 </li>
  354.                                                             </ul>
  355.                                                         </div>
  356.                                                     </td>
  357.                                                 </tr>
  358.                                                 ";
  359.         }
  360.         $_parent $context['_parent'];
  361.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['experience'], $context['_parent'], $context['loop']);
  362.         $context array_intersect_key($context$_parent) + $_parent;
  363.         // line 134
  364.         yield "                                                </tbody>
  365.                                             </table>
  366.                                         </div>
  367.                                     </div>
  368.                                 </div>
  369.                             </div>
  370.                         </div>
  371.                     </div>
  372.                 </div>
  373. ";
  374.         
  375.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  376.         
  377.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  378.         return; yield '';
  379.     }
  380.     // line 145
  381.     public function block_javascripts($context, array $blocks = [])
  382.     {
  383.         $macros $this->macros;
  384.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  385.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  386.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  387.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  388.         // line 146
  389.         yield "
  390.                 <script src=\"";
  391.         // line 147
  392.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/select2/js/select2.min.js"), "html"nulltrue);
  393.         yield "\"></script>
  394.                 <script src=\"";
  395.         // line 148
  396.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/select2/js/select2.min.js"), "html"nulltrue);
  397.         yield "\"></script>
  398.                 <script src=\"";
  399.         // line 149
  400.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/bootstrap-datepicker/js/bootstrap-datepicker.min.js"), "html"nulltrue);
  401.         yield "\"></script>
  402.                 <script src=\"";
  403.         // line 150
  404.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/datatables.net/js/jquery.dataTables.min.js"), "html"nulltrue);
  405.         yield "\"></script>
  406.                 <script src=\"";
  407.         // line 151
  408.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/datatables.net-bs4/js/dataTables.bootstrap4.min.js"), "html"nulltrue);
  409.         yield "\"></script>
  410.                 <script src=\"";
  411.         // line 152
  412.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/datatables.net-responsive/js/dataTables.responsive.min.js"), "html"nulltrue);
  413.         yield "\"></script>
  414.                 <script src=\"";
  415.         // line 153
  416.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/datatables.net-responsive-bs4/js/responsive.bootstrap4.min.js"), "html"nulltrue);
  417.         yield "\"></script>
  418.                 <script src=\"";
  419.         // line 154
  420.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/pages/crypto-orders.init.js"), "html"nulltrue);
  421.         yield "\"></script>
  422.                 <script src=\"";
  423.         // line 155
  424.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/pages/form-advanced.init.js"), "html"nulltrue);
  425.         yield "\"></script>
  426.                 <script src=\"";
  427.         // line 156
  428.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/app.js"), "html"nulltrue);
  429.         yield "\"></script>
  430.             ";
  431.         
  432.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  433.         
  434.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  435.         return; yield '';
  436.     }
  437.     /**
  438.      * @codeCoverageIgnore
  439.      */
  440.     public function getTemplateName()
  441.     {
  442.         return "admin/experience/list/listExperiences.html.twig";
  443.     }
  444.     /**
  445.      * @codeCoverageIgnore
  446.      */
  447.     public function isTraitable()
  448.     {
  449.         return false;
  450.     }
  451.     /**
  452.      * @codeCoverageIgnore
  453.      */
  454.     public function getDebugInfo()
  455.     {
  456.         return array (  490 => 156,  486 => 155,  482 => 154,  478 => 153,  474 => 152,  470 => 151,  466 => 150,  462 => 149,  458 => 148,  454 => 147,  451 => 146,  441 => 145,  421 => 134,  403 => 122,  394 => 115,  391 => 114,  387 => 112,  381 => 110,  379 => 109,  375 => 108,  371 => 107,  365 => 106,  361 => 105,  356 => 103,  352 => 101,  348 => 100,  316 => 70,  307 => 67,  300 => 66,  296 => 65,  283 => 55,  279 => 54,  275 => 53,  262 => 42,  251 => 39,  244 => 38,  240 => 37,  228 => 28,  214 => 16,  204 => 15,  184 => 14,  171 => 12,  167 => 11,  163 => 10,  158 => 9,  148 => 8,  136 => 6,  126 => 5,  106 => 4,  86 => 3,  66 => 2,  43 => 1,);
  457.     }
  458.     public function getSourceContext()
  459.     {
  460.         return new Source("{% extends 'admin/baseAdmin.html.twig' %}
  461. {% block page_title %}Comptes Experiences{% endblock %}
  462. {% block breadcump_main %}Experiences{% endblock %}
  463. {% block breadcump_subtitle %}Liste des Experiences{% endblock %}
  464. {% block menu_left_sidebar %}
  465.     {% include 'include/menu/menuAdmin.html.twig' with { menu_active_event : '3'} %}
  466. {% endblock %}
  467. {% block stylesheets %}
  468.     <link href=\"{{ asset('admin/libs/select2/css/select2.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  469.     <link href=\"{{ asset('admin/libs/bootstrap-datepicker/css/bootstrap-datepicker.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  470.     <link href=\"{{ asset('admin/libs/datatables.net-bs4/css/dataTables.bootstrap4.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  471.     <link href=\"{{ asset('admin/libs/datatables.net-responsive-bs4/css/responsive.bootstrap4.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  472. {% endblock %}
  473. {% block title %}{{\"Liste des Experiences\"|trans }}{% endblock %}
  474. {% block content %}
  475.                 <div class=\"row\">
  476.                     <div class=\"col-lg-12\">
  477.                         <div class=\"card\">
  478.                             <div class=\"card-body\">
  479.                                 <h4 class=\"card-title mb-3\">Experiences</h4>
  480.                                 <!-- Nav tabs -->
  481.                                 <!-- Tab panes -->
  482.                                 <div class=\"tab-content p-3\">
  483.                                     <div class=\"tab-pane active\" id=\"all-order\" role=\"tabpanel\">
  484.                                         <form method=\"post\" action=\"{{ path('experiences_list') }}\">
  485.                                             <div class=\"row\">
  486.                                                 <div class=\"col-xl col-sm-6\">
  487.                                                     <div class=\"mb-3\">
  488.                                                         <label class=\"form-label\">Coach</label>
  489.                                                         <select class=\"form-control select2\">
  490.                                                             <option>Select</option>
  491.                                                             <optgroup label=\"Coaches\">
  492.                                                                 {% for coache in coaches %}
  493.                                                                     <option value=\"{{ coache.id }}\" {{   app.request.get('coache') == coache.id ? 'selected' }}>
  494.                                                                         {{ coache.firstname }} - {{ coache.lastname }}
  495.                                                                     </option>
  496.                                                                 {% endfor %}
  497.                                                             </optgroup>
  498.                                                         </select>
  499.                                                     </div>
  500.                                                 </div>
  501.                                                 <div class=\"col-xl col-sm-6\">
  502.                                                     <div class=\"mb-3\">
  503.                                                         <label class=\"form-label\">Type de coaching :</label>
  504.                                                         <select class=\"form-control\" name=\"typeCoach\">
  505.                                                             <option value=\"\">— Tous —</option>
  506.                                                             <option value=\"private\"   {{ app.request.get('typeCoach') == 'private'   ? 'selected' }}>Coaching Privé</option>
  507.                                                             <option value=\"groupe\"    {{ app.request.get('typeCoach') == 'groupe'    ? 'selected' }}>Coaching en groupe</option>
  508.                                                             <option value=\"visio\"     {{ app.request.get('typeCoach') == 'visio'     ? 'selected' }}>Coaching par Visio</option>
  509.                                                         </select>
  510.                                                     </div>
  511.                                                 </div>
  512.                                                 <div class=\"col-xl col-sm-6\">
  513.                                                     <div class=\"mb-3\">
  514.                                                         <label class=\"form-label\">Catégorie :</label>
  515.                                                         <select class=\"form-control\" name=\"category\">
  516.                                                             <option value=\"\">— Toutes —</option>
  517.                                                             {% for categorie in categories %}
  518.                                                                 <option value=\"{{ categorie.id }}\" {{   app.request.get('category') == categorie.id ? 'selected' }}>
  519.                                                                     {{ categorie.name }}
  520.                                                                 </option>
  521.                                                             {% endfor %}
  522.                                                         </select>
  523.                                                     </div>
  524.                                                 </div>
  525.                                                 <div class=\"col-xl col-sm-6 align-self-end\">
  526.                                                     <div class=\"mb-3\">
  527.                                                         <button type=\"submit\" class=\"btn btn-primary w-md\">Filter</button>
  528.                                                     </div>
  529.                                                 </div>
  530.                                             </div>
  531.                                         </form>
  532.                                         <div class=\"table-responsive mt-2\">
  533.                                             <table class=\"table table-hover datatable dt-responsive nowrap\" style=\"border-collapse: collapse; border-spacing: 0; width: 100%;\">
  534.                                                 <thead>
  535.                                                 <tr>
  536.                                                     <th scope=\"col\">#</th>
  537.                                                     <th scope=\"col\">Titre</th>
  538.                                                     <th scope=\"col\">Prix</th>
  539.                                                     <th scope=\"col\">Description</th>
  540.                                                     <th scope=\"col\">Type de coaching</th>
  541.                                                     <th scope=\"col\">Status</th>
  542.                                                     <th scope=\"col\">Coach</th>
  543.                                                     <th class=\"p-3 font-semibold text-13 ltr:text-left rtl:text-right\" style=\"width: 120px;\">Action</th>
  544.                                                 </tr>
  545.                                                 </thead>
  546.                                                 <tbody>
  547.                                                 {% for experience in experiences %}
  548.                                                     <tr>
  549.                                                         <td>
  550.                                                             <img class=\"object-cover\" src=\"{{ asset(''~experience.image) }}\" alt=\"\" width=\"96px\" height=\"64px\">
  551.                                                         </td>
  552.                                                     <td>{{ experience.title }}</td>
  553.                                                     <td>{{ experience.price }} {{ experience.currency }}</td>
  554.                                                     <td>{{ experience.description|u.truncate(30, '…') }}</td>
  555.                                                     <td>{{ experience.coachingtype }}</td>
  556.                                                     <td> {% if experience.enabled is not null %}
  557.                                                             {{ experience.enabled ? '<span class=\"badge bg-success font-size-10\">Disponible</span>' : '<span class=\"badge bg-danger font-size-10\">Occupe</span>' }}
  558.                                                         {% else %}
  559.                                                             &mdash;
  560.                                                         {% endif %}
  561.                                                     </td>
  562.                                                     <td>Hicham{#{{ experience.coach.lastname }}#}</td>
  563.                                                         <td class=\"p-3 ltr:text-left rtl:text-right\">
  564.                                                         <div class=\"relative dropdown\">
  565.                                                             <button class=\"p-0 text-gray-700 border-0 btn dropdown-toggle dark:text-zink-200 \" type=\"button\" data-bs-toggle=\"dropdown\" id=\"dropdownMenuButton1\">
  566.                                                                 <i class=\"bx bx-dots-horizontal font-medium text-15\"></i>
  567.                                                             </button>
  568.                                                             <ul class=\"absolute right-0 left-auto top-auto z-20 hidden w-44 py-1.5 text-left list-none bg-white border border-transparent rounded shadow-lg dropdown-menu bg-clip-padding dark:bg-zink-700 dark:border-zink-50 dark:text-zink-200\" aria-labelledby=\"dropdownMenuButton1\">
  569.                                                                 <li><a class=\"bg-transparent dropdown-item font-normal flex items-center hover:bg-gray-50 px-6 py-1.5 text-13 text-gray-700 w-full whitespace-nowrap\" href=\"{{ path('exp_overview', {id: experience.id}) }}\"><i class=\"bx bx-pencil text-16 text-green-500 me-2 \"></i> Overview</a>
  570.                                                                 </li>
  571.                                                                 <li><a class=\"bg-transparent dropdown-item font-normal flex items-center hover:bg-gray-50 px-6 py-1.5 text-13 text-gray-700 w-full whitespace-nowrap\" href=\"#\"> <i class=\"bx bx-lock-alt text-16 text-gray-500 me-2\"></i>Securite</a>
  572.                                                                 </li>
  573.                                                                 <li><a class=\"bg-transparent dropdown-item font-normal flex items-center hover:bg-gray-50 px-6 py-1.5 text-13 text-gray-700 w-full whitespace-nowrap\" href=\"#\"> <i class=\"bx bx-trash-alt text-16 text-red-500 me-2\"></i>Remove</a>
  574.                                                                 </li>
  575.                                                             </ul>
  576.                                                         </div>
  577.                                                     </td>
  578.                                                 </tr>
  579.                                                 {% endfor %}
  580.                                                 </tbody>
  581.                                             </table>
  582.                                         </div>
  583.                                     </div>
  584.                                 </div>
  585.                             </div>
  586.                         </div>
  587.                     </div>
  588.                 </div>
  589. {% endblock %}
  590.             {% block javascripts %}
  591.                 <script src=\"{{ asset('admin/libs/select2/js/select2.min.js')}}\"></script>
  592.                 <script src=\"{{ asset('admin/libs/select2/js/select2.min.js')}}\"></script>
  593.                 <script src=\"{{ asset('admin/libs/bootstrap-datepicker/js/bootstrap-datepicker.min.js')}}\"></script>
  594.                 <script src=\"{{ asset('admin/libs/datatables.net/js/jquery.dataTables.min.js')}}\"></script>
  595.                 <script src=\"{{ asset('admin/libs/datatables.net-bs4/js/dataTables.bootstrap4.min.js')}}\"></script>
  596.                 <script src=\"{{ asset('admin/libs/datatables.net-responsive/js/dataTables.responsive.min.js')}}\"></script>
  597.                 <script src=\"{{ asset('admin/libs/datatables.net-responsive-bs4/js/responsive.bootstrap4.min.js')}}\"></script>
  598.                 <script src=\"{{ asset('admin/js/pages/crypto-orders.init.js')}}\"></script>
  599.                 <script src=\"{{ asset('admin/js/pages/form-advanced.init.js')}}\"></script>
  600.                 <script src=\"{{ asset('admin/js/app.js')}}\"></script>
  601.             {% endblock %}""admin/experience/list/listExperiences.html.twig""/home/bookoachroot/public_html/templates/admin/experience/list/listExperiences.html.twig");
  602.     }
  603. }