var/cache/dev/twig/24/245640256e1f7f2b7e5fdda2e02ffa0bb441539dd6039a531c006c8a55312ebf.php line 485

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. /* @SonataAdmin/CRUD/base_list.html.twig */
  14. class __TwigTemplate_178a4f48b4a8bd9ad4000168d3e616a07c2946bbfa0a751c73d8ccfe2623ee77 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.             'actions' => [$this'block_actions'],
  24.             'tab_menu' => [$this'block_tab_menu'],
  25.             'title' => [$this'block_title'],
  26.             'navbar_title' => [$this'block_navbar_title'],
  27.             'list_table' => [$this'block_list_table'],
  28.             'list_header' => [$this'block_list_header'],
  29.             'table' => [$this'block_table'],
  30.             'table_header' => [$this'block_table_header'],
  31.             'table_body' => [$this'block_table_body'],
  32.             'table_footer' => [$this'block_table_footer'],
  33.             'no_result_content' => [$this'block_no_result_content'],
  34.             'list_footer' => [$this'block_list_footer'],
  35.             'batch' => [$this'block_batch'],
  36.             'batch_javascript' => [$this'block_batch_javascript'],
  37.             'batch_actions' => [$this'block_batch_actions'],
  38.             'pager_results' => [$this'block_pager_results'],
  39.             'pager_links' => [$this'block_pager_links'],
  40.             'list_filters_actions' => [$this'block_list_filters_actions'],
  41.             'list_filters' => [$this'block_list_filters'],
  42.             'sonata_list_filter_group_class' => [$this'block_sonata_list_filter_group_class'],
  43.         ];
  44.     }
  45.     protected function doGetParent(array $context)
  46.     {
  47.         // line 12
  48.         return $this->loadTemplate((isset($context["base_template"]) || array_key_exists("base_template"$context) ? $context["base_template"] : (function () { throw new RuntimeError('Variable "base_template" does not exist.'12$this->source); })()), "@SonataAdmin/CRUD/base_list.html.twig"12);
  49.     }
  50.     protected function doDisplay(array $context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SonataAdmin/CRUD/base_list.html.twig"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SonataAdmin/CRUD/base_list.html.twig"));
  57.         // line 34
  58.         $context["datagrid_has_results"] = (=== twig_compare(twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'34$this->source); })()), "datagrid", [], "any"falsefalsefalse34), "results", [], "any"falsefalsefalse34)), 0));
  59.         // line 12
  60.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  61.         
  62.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  63.         
  64.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  65.     }
  66.     // line 14
  67.     public function block_actions($context, array $blocks = [])
  68.     {
  69.         $macros $this->macros;
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  71.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""actions"));
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  73.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""actions"));
  74.         // line 15
  75.         $this->loadTemplate("@SonataAdmin/CRUD/action_buttons.html.twig""@SonataAdmin/CRUD/base_list.html.twig"15)->display($context);
  76.         
  77.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  78.         
  79.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  80.     }
  81.     // line 18
  82.     public function block_tab_menu($context, array $blocks = [])
  83.     {
  84.         $macros $this->macros;
  85.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  86.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tab_menu"));
  87.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tab_menu"));
  89.         // line 19
  90.         echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render(twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'19$this->source); })()), "sidemenu", [=> (isset($context["action"]) || array_key_exists("action"$context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.'19$this->source); })())], "method"falsefalsefalse19), ["currentClass" => "active""template" => $this->env->getRuntime('Sonata\AdminBundle\Twig\TemplateRegistryRuntime')->getGlobalTemplate("tab_menu_template")], "twig");
  91.         
  92.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  93.         
  94.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  95.     }
  96.     // line 25
  97.     public function block_title($context, array $blocks = [])
  98.     {
  99.         $macros $this->macros;
  100.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  101.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  102.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  103.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  104.         // line 26
  105.         echo "    ";
  106.         (((twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'26$this->source); })()), "isChild", [], "any"falsefalsefalse26) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'26$this->source); })()), "parent", [], "any"falsefalsefalse26), "subject", [], "any"falsefalsefalse26))) ? (print (twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("title_edit", ["%name%" => twig_get_attribute($this->env$this->source$this->extensions['Twig\Extra\String\StringExtension']->createUnicodeString(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'26$this->source); })()), "parent", [], "any"falsefalsefalse26), "toString", [=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'26$this->source); })()), "parent", [], "any"falsefalsefalse26), "subject", [], "any"falsefalsefalse26)], "method"falsefalsefalse26)), "truncate", [=> 15=> "..."], "method"falsefalsefalse26)], "SonataAdminBundle"), "html"nulltrue))) : (print ("")));
  107.         echo "
  108. ";
  109.         
  110.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  111.         
  112.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  113.     }
  114.     // line 29
  115.     public function block_navbar_title($context, array $blocks = [])
  116.     {
  117.         $macros $this->macros;
  118.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  119.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar_title"));
  120.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  121.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar_title"));
  122.         // line 30
  123.         echo "    ";
  124.         (((twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'30$this->source); })()), "isChild", [], "any"falsefalsefalse30) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'30$this->source); })()), "parent", [], "any"falsefalsefalse30), "subject", [], "any"falsefalsefalse30))) ? (print (twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("title_edit", ["%name%" => twig_get_attribute($this->env$this->source$this->extensions['Twig\Extra\String\StringExtension']->createUnicodeString(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'30$this->source); })()), "parent", [], "any"falsefalsefalse30), "toString", [=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'30$this->source); })()), "parent", [], "any"falsefalsefalse30), "subject", [], "any"falsefalsefalse30)], "method"falsefalsefalse30)), "truncate", [=> 100=> "..."], "method"falsefalsefalse30)], "SonataAdminBundle"), "html"nulltrue))) : (print ("")));
  125.         echo "
  126. ";
  127.         
  128.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  129.         
  130.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  131.     }
  132.     // line 36
  133.     public function block_list_table($context, array $blocks = [])
  134.     {
  135.         $macros $this->macros;
  136.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  137.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""list_table"));
  138.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  139.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""list_table"));
  140.         // line 37
  141.         echo "    <div class=\"col-xs-12 col-md-12\">
  142.         ";
  143.         // line 38
  144.         $context["batchactions"] = twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'38$this->source); })()), "batchactions", [], "any"falsefalsefalse38);
  145.         // line 39
  146.         echo "        ";
  147.         if ((twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'39$this->source); })()), "hasRoute", [=> "batch"], "method"falsefalsefalse39) && twig_length_filter($this->env, (isset($context["batchactions"]) || array_key_exists("batchactions"$context) ? $context["batchactions"] : (function () { throw new RuntimeError('Variable "batchactions" does not exist.'39$this->source); })())))) {
  148.             // line 40
  149.             echo "            <form action=\"";
  150.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'40$this->source); })()), "generateUrl", [=> "batch"=> ["filter" => twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'40$this->source); })()), "filterParameters", [], "any"falsefalsefalse40)]], "method"falsefalsefalse40), "html"nulltrue);
  151.             echo "\" method=\"POST\" >
  152.             <input type=\"hidden\" name=\"_sonata_csrf_token\" value=\"";
  153.             // line 41
  154.             echo twig_escape_filter($this->env, (isset($context["csrf_token"]) || array_key_exists("csrf_token"$context) ? $context["csrf_token"] : (function () { throw new RuntimeError('Variable "csrf_token" does not exist.'41$this->source); })()), "html"nulltrue);
  155.             echo "\">
  156.         ";
  157.         }
  158.         // line 43
  159.         echo "
  160.         ";
  161.         // line 45
  162.         echo "        <div class=\"box box-primary\"";
  163.         if ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'45$this->source); })()), "datagrid", [], "any"falsefalsefalse45), "pager", [], "any"falsefalsefalse45), "lastPage", [], "any"falsefalsefalse45), 1))) {
  164.             echo " style=\"margin-bottom: 100px;\"";
  165.         }
  166.         echo ">
  167.             <div class=\"box-body";
  168.         // line 46
  169.         if ((isset($context["datagrid_has_results"]) || array_key_exists("datagrid_has_results"$context) ? $context["datagrid_has_results"] : (function () { throw new RuntimeError('Variable "datagrid_has_results" does not exist.'46$this->source); })())) {
  170.             echo " table-responsive no-padding";
  171.         }
  172.         echo "\">
  173.                 ";
  174.         // line 47
  175.         echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sonata.admin.list.table.top", ["admin" => (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'47$this->source); })())]);
  176.         echo "
  177.                 ";
  178.         // line 49
  179.         $this->displayBlock('list_header'$context$blocks);
  180.         // line 50
  181.         echo "
  182.                 ";
  183.         // line 51
  184.         if ((isset($context["datagrid_has_results"]) || array_key_exists("datagrid_has_results"$context) ? $context["datagrid_has_results"] : (function () { throw new RuntimeError('Variable "datagrid_has_results" does not exist.'51$this->source); })())) {
  185.             // line 52
  186.             echo "                    ";
  187.             $this->displayBlock('table'$context$blocks);
  188.             // line 115
  189.             echo "                ";
  190.         } else {
  191.             // line 116
  192.             echo "                    ";
  193.             $this->displayBlock('no_result_content'$context$blocks);
  194.             // line 140
  195.             echo "                ";
  196.         }
  197.         // line 141
  198.         echo "
  199.                 ";
  200.         // line 142
  201.         echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sonata.admin.list.table.bottom", ["admin" => (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'142$this->source); })())]);
  202.         echo "
  203.             </div>
  204.             ";
  205.         // line 144
  206.         $this->displayBlock('list_footer'$context$blocks);
  207.         // line 249
  208.         echo "        </div>
  209.         ";
  210.         // line 250
  211.         if ((twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'250$this->source); })()), "hasRoute", [=> "batch"], "method"falsefalsefalse250) && twig_length_filter($this->env, (isset($context["batchactions"]) || array_key_exists("batchactions"$context) ? $context["batchactions"] : (function () { throw new RuntimeError('Variable "batchactions" does not exist.'250$this->source); })())))) {
  212.             // line 251
  213.             echo "            </form>
  214.         ";
  215.         }
  216.         // line 253
  217.         echo "    </div>
  218. ";
  219.         
  220.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  221.         
  222.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  223.     }
  224.     // line 49
  225.     public function block_list_header($context, array $blocks = [])
  226.     {
  227.         $macros $this->macros;
  228.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  229.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""list_header"));
  230.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  231.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""list_header"));
  232.         
  233.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  234.         
  235.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  236.     }
  237.     // line 52
  238.     public function block_table($context, array $blocks = [])
  239.     {
  240.         $macros $this->macros;
  241.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  242.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table"));
  243.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  244.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table"));
  245.         // line 53
  246.         echo "                        <table class=\"table table-bordered table-striped table-hover sonata-ba-list\">
  247.                         ";
  248.         // line 54
  249.         $this->displayBlock('table_header'$context$blocks);
  250.         // line 104
  251.         echo "
  252.                         ";
  253.         // line 105
  254.         $this->displayBlock('table_body'$context$blocks);
  255.         // line 110
  256.         echo "
  257.                         ";
  258.         // line 111
  259.         $this->displayBlock('table_footer'$context$blocks);
  260.         // line 113
  261.         echo "                    </table>
  262.                     ";
  263.         
  264.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  265.         
  266.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  267.     }
  268.     // line 54
  269.     public function block_table_header($context, array $blocks = [])
  270.     {
  271.         $macros $this->macros;
  272.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  273.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_header"));
  274.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  275.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_header"));
  276.         // line 55
  277.         echo "                            <thead>
  278.                                 <tr class=\"sonata-ba-list-field-header\">
  279.                                     ";
  280.         // line 57
  281.         $context['_parent'] = $context;
  282.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'57$this->source); })()), "list", [], "any"falsefalsefalse57), "getElements", [], "method"falsefalsefalse57));
  283.         foreach ($context['_seq'] as $context["_key"] => $context["field_description"]) {
  284.             // line 58
  285.             echo "                                        ";
  286.             if (((twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'58$this->source); })()), "hasRoute", [=> "batch"], "method"falsefalsefalse58) && (=== twig_compare(twig_get_attribute($this->env$this->source$context["field_description"], "name", [], "any"falsefalsefalse58), twig_constant("Sonata\\AdminBundle\\Datagrid\\ListMapper::NAME_BATCH")))) && (=== twig_compare(twig_length_filter($this->env, (isset($context["batchactions"]) || array_key_exists("batchactions"$context) ? $context["batchactions"] : (function () { throw new RuntimeError('Variable "batchactions" does not exist.'58$this->source); })())), 0)))) {
  287.                 // line 59
  288.                 echo "                                            <th class=\"sonata-ba-list-field-header sonata-ba-list-field-header-batch\">
  289.                                               <input type=\"checkbox\" id=\"list_batch_checkbox\">
  290.                                             </th>
  291.                                         ";
  292.             } elseif ((=== twig_compare(twig_get_attribute($this->env$this->source,             // line 62
  293. $context["field_description"], "name", [], "any"falsefalsefalse62), twig_constant("Sonata\\AdminBundle\\Datagrid\\ListMapper::NAME_SELECT")))) {
  294.                 // line 63
  295.                 echo "                                            <th class=\"sonata-ba-list-field-header sonata-ba-list-field-header-select\"></th>
  296.                                         ";
  297.             } elseif (((=== twig_compare(twig_get_attribute($this->env$this->source,             // line 64
  298. $context["field_description"], "name", [], "any"falsefalsefalse64), twig_constant("Sonata\\AdminBundle\\Datagrid\\ListMapper::NAME_ACTIONS"))) && twig_get_attribute($this->env$this->sourcetwig_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.'64$this->source); })()), "request", [], "any"falsefalsefalse64), "isXmlHttpRequest", [], "any"falsefalsefalse64))) {
  299.                 // line 65
  300.                 echo "                                            ";
  301.                 // line 66
  302.                 echo "                                            ";
  303.                 // line 67
  304.                 echo "                                        ";
  305.             } elseif (((=== twig_compare(twig_get_attribute($this->env$this->source$context["field_description"], "getOption", [=> "ajax_hidden"], "method"falsefalsefalse67), true)) && twig_get_attribute($this->env$this->sourcetwig_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.'67$this->source); })()), "request", [], "any"falsefalsefalse67), "isXmlHttpRequest", [], "any"falsefalsefalse67))) {
  306.                 // line 68
  307.                 echo "                                            ";
  308.                 // line 69
  309.                 echo "                                        ";
  310.             } else {
  311.                 // line 70
  312.                 echo "                                            ";
  313.                 $context["sortable"] = false;
  314.                 // line 71
  315.                 echo "                                            ";
  316.                 if (twig_get_attribute($this->env$this->source$context["field_description"], "option", [=> "sortable"=> false], "method"falsefalsefalse71)) {
  317.                     // line 72
  318.                     echo "                                                ";
  319.                     $context["sortable"] = true;
  320.                     // line 73
  321.                     echo "                                                ";
  322.                     $context["sort_parameters"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'73$this->source); })()), "datagrid", [], "any"falsefalsefalse73), "sortparameters", [=> $context["field_description"]], "method"falsefalsefalse73);
  323.                     // line 74
  324.                     echo "                                                ";
  325.                     $context["current"] = (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["admin"] ?? null), "datagrid", [], "any"falsetruefalse74), "values", [], "any"falsetruefalse74), twig_constant("Sonata\\AdminBundle\\Datagrid\\DatagridInterface::SORT_BY"), [], "array"truetruefalse74) && ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                     // line 75
  326. (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'75$this->source); })()), "datagrid", [], "any"falsefalsefalse75), "values", [], "any"falsefalsefalse75), twig_constant("Sonata\\AdminBundle\\Datagrid\\DatagridInterface::SORT_BY"), [], "array"falsefalsefalse75), $context["field_description"])) || (=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                     // line 76
  327. (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'76$this->source); })()), "datagrid", [], "any"falsefalsefalse76), "values", [], "any"falsefalsefalse76), twig_constant("Sonata\\AdminBundle\\Datagrid\\DatagridInterface::SORT_BY"), [], "array"falsefalsefalse76), "name", [], "any"falsefalsefalse76), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["sort_parameters"]) || array_key_exists("sort_parameters"$context) ? $context["sort_parameters"] : (function () { throw new RuntimeError('Variable "sort_parameters" does not exist.'76$this->source); })()), "filter", [], "any"falsefalsefalse76), twig_constant("Sonata\\AdminBundle\\Datagrid\\DatagridInterface::SORT_BY"), [], "array"falsefalsefalse76)))));
  328.                     // line 77
  329.                     echo "                                                ";
  330.                     $context["sort_active_class"] = (((isset($context["current"]) || array_key_exists("current"$context) ? $context["current"] : (function () { throw new RuntimeError('Variable "current" does not exist.'77$this->source); })())) ? ("sonata-ba-list-field-order-active") : (""));
  331.                     // line 78
  332.                     echo "                                                ";
  333.                     $context["sort_by"] = (((isset($context["current"]) || array_key_exists("current"$context) ? $context["current"] : (function () { throw new RuntimeError('Variable "current" does not exist.'78$this->source); })())) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'78$this->source); })()), "datagrid", [], "any"falsefalsefalse78), "values", [], "any"falsefalsefalse78), twig_constant("Sonata\\AdminBundle\\Datagrid\\DatagridInterface::SORT_ORDER"), [], "array"falsefalsefalse78)) : (twig_get_attribute($this->env$this->source$context["field_description"], "option", [=> twig_constant("Sonata\\AdminBundle\\Datagrid\\DatagridInterface::SORT_ORDER"), => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["sort_parameters"]) || array_key_exists("sort_parameters"$context) ? $context["sort_parameters"] : (function () { throw new RuntimeError('Variable "sort_parameters" does not exist.'78$this->source); })()), "filter", [], "any"falsefalsefalse78), twig_constant("Sonata\\AdminBundle\\Datagrid\\DatagridInterface::SORT_ORDER"), [], "array"falsefalsefalse78)], "method"falsefalsefalse78)));
  334.                     // line 79
  335.                     echo "                                            ";
  336.                 }
  337.                 // line 80
  338.                 echo "
  339.                                             ";
  340.                 // line 81
  341.                 ob_start();
  342.                 // line 82
  343.                 echo "                                                <th class=\"sonata-ba-list-field-header-";
  344.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["field_description"], "type", [], "any"falsefalsefalse82), "html"nulltrue);
  345.                 if ((isset($context["sortable"]) || array_key_exists("sortable"$context) ? $context["sortable"] : (function () { throw new RuntimeError('Variable "sortable" does not exist.'82$this->source); })())) {
  346.                     echo " sonata-ba-list-field-header-order-";
  347.                     echo twig_escape_filter($this->envtwig_lower_filter($this->env, (isset($context["sort_by"]) || array_key_exists("sort_by"$context) ? $context["sort_by"] : (function () { throw new RuntimeError('Variable "sort_by" does not exist.'82$this->source); })())), "html"nulltrue);
  348.                     echo " ";
  349.                     echo twig_escape_filter($this->env, (isset($context["sort_active_class"]) || array_key_exists("sort_active_class"$context) ? $context["sort_active_class"] : (function () { throw new RuntimeError('Variable "sort_active_class" does not exist.'82$this->source); })()), "html"nulltrue);
  350.                 }
  351.                 if (twig_get_attribute($this->env$this->source$context["field_description"], "option", [=> "header_class"], "method"falsefalsefalse82)) {
  352.                     echo " ";
  353.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["field_description"], "option", [=> "header_class"], "method"falsefalsefalse82), "html"nulltrue);
  354.                 }
  355.                 echo "\"";
  356.                 if (twig_get_attribute($this->env$this->source$context["field_description"], "option", [=> "header_style"], "method"falsefalsefalse82)) {
  357.                     echo " style=\"";
  358.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["field_description"], "option", [=> "header_style"], "method"falsefalsefalse82), "html"nulltrue);
  359.                     echo "\"";
  360.                 }
  361.                 echo ">
  362.                                                     ";
  363.                 // line 83
  364.                 if ((isset($context["sortable"]) || array_key_exists("sortable"$context) ? $context["sortable"] : (function () { throw new RuntimeError('Variable "sortable" does not exist.'83$this->source); })())) {
  365.                     echo "<a href=\"";
  366.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'83$this->source); })()), "generateUrl", [=> "list"=> twig_array_merge((isset($context["sort_parameters"]) || array_key_exists("sort_parameters"$context) ? $context["sort_parameters"] : (function () { throw new RuntimeError('Variable "sort_parameters" does not exist.'83$this->source); })()), ["_list_mode" => twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'83$this->source); })()), "getListMode", [], "method"falsefalsefalse83)])], "method"falsefalsefalse83), "html"nulltrue);
  367.                     echo "\">";
  368.                 }
  369.                 // line 84
  370.                 echo "                                                    ";
  371.                 if (twig_get_attribute($this->env$this->source$context["field_description"], "getOption", [=> "label_icon"], "method"falsefalsefalse84)) {
  372.                     // line 85
  373.                     echo "                                                        <span class=\"sonata-ba-list-field-header-label-icon\">
  374.                                                             ";
  375.                     // line 86
  376.                     echo $this->env->getRuntime('Sonata\AdminBundle\Twig\IconRuntime')->parseIcon(twig_get_attribute($this->env$this->source$context["field_description"], "getOption", [=> "label_icon"], "method"falsefalsefalse86));
  377.                     echo "
  378.                                                         </span>
  379.                                                     ";
  380.                 }
  381.                 // line 89
  382.                 echo "                                                    ";
  383.                 if ( !(twig_get_attribute($this->env$this->source$context["field_description"], "label", [], "any"falsefalsefalse89) === false)) {
  384.                     // line 90
  385.                     echo "                                                        ";
  386.                     if ((twig_get_attribute($this->env$this->source$context["field_description"], "translationDomain", [], "any"falsefalsefalse90) === false)) {
  387.                         // line 91
  388.                         echo "                                                            ";
  389.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["field_description"], "label", [], "any"falsefalsefalse91), "html"nulltrue);
  390.                         echo "
  391.                                                         ";
  392.                     } else {
  393.                         // line 93
  394.                         echo "                                                            ";
  395.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["field_description"], "label", [], "any"falsefalsefalse93), [], twig_get_attribute($this->env$this->source$context["field_description"], "translationDomain", [], "any"falsefalsefalse93)), "html"nulltrue);
  396.                         echo "
  397.                                                         ";
  398.                     }
  399.                     // line 95
  400.                     echo "                                                    ";
  401.                 }
  402.                 // line 96
  403.                 echo "                                                    ";
  404.                 if ((isset($context["sortable"]) || array_key_exists("sortable"$context) ? $context["sortable"] : (function () { throw new RuntimeError('Variable "sortable" does not exist.'96$this->source); })())) {
  405.                     echo "</a>";
  406.                 }
  407.                 // line 97
  408.                 echo "                                                </th>
  409.                                             ";
  410.                 $___internal_parse_0_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  411.                 // line 81
  412.                 echo twig_spaceless($___internal_parse_0_);
  413.                 // line 99
  414.                 echo "                                        ";
  415.             }
  416.             // line 100
  417.             echo "                                    ";
  418.         }
  419.         $_parent $context['_parent'];
  420.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field_description'], $context['_parent'], $context['loop']);
  421.         $context array_intersect_key($context$_parent) + $_parent;
  422.         // line 101
  423.         echo "                                </tr>
  424.                             </thead>
  425.                         ";
  426.         
  427.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  428.         
  429.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  430.     }
  431.     // line 105
  432.     public function block_table_body($context, array $blocks = [])
  433.     {
  434.         $macros $this->macros;
  435.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  436.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_body"));
  437.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  438.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_body"));
  439.         // line 106
  440.         echo "                            <tbody>
  441.                                 ";
  442.         // line 107
  443.         $this->loadTemplate($this->env->getRuntime('Sonata\AdminBundle\Twig\TemplateRegistryRuntime')->getAdminTemplate(("outer_list_rows_" twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'107$this->source); })()), "getListMode", [], "method"falsefalsefalse107)), twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'107$this->source); })()), "code", [], "any"falsefalsefalse107)), "@SonataAdmin/CRUD/base_list.html.twig"107)->display($context);
  444.         // line 108
  445.         echo "                            </tbody>
  446.                         ";
  447.         
  448.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  449.         
  450.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  451.     }
  452.     // line 111
  453.     public function block_table_footer($context, array $blocks = [])
  454.     {
  455.         $macros $this->macros;
  456.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  457.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_footer"));
  458.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  459.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""table_footer"));
  460.         // line 112
  461.         echo "                        ";
  462.         
  463.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  464.         
  465.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  466.     }
  467.     // line 116
  468.     public function block_no_result_content($context, array $blocks = [])
  469.     {
  470.         $macros $this->macros;
  471.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  472.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""no_result_content"));
  473.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  474.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""no_result_content"));
  475.         // line 117
  476.         echo "                        <div class=\"info-box\">
  477.                             <span class=\"info-box-icon bg-aqua\"><i class=\"fas fa-arrow-circle-right\" aria-hidden=\"true\"></i></span>
  478.                             <div class=\"info-box-content\">
  479.                                 <span class=\"info-box-text\">";
  480.         // line 120
  481.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("no_result", [], "SonataAdminBundle"), "html"nulltrue);
  482.         echo "</span>
  483.                                 <div class=\"progress\">
  484.                                     <div class=\"progress-bar\" style=\"width: 0%\"></div>
  485.                                 </div>
  486.                                 <div class=\"progress-description\">
  487.                                     <ul class=\"list-inline\">";
  488.         // line 126
  489.         if ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'126$this->source); })()), "datagrid", [], "any"falsefalsefalse126), "pager", [], "any"falsefalsefalse126), "countResults", [], "method"falsefalsefalse126), 0))) {
  490.             // line 127
  491.             echo "<li>
  492.                                                 <a href=\"";
  493.             // line 128
  494.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'128$this->source); })()), "generateUrl", [=> "list"=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'128$this->source); })()), "datagrid", [], "any"falsefalsefalse128), "getPaginationParameters", [=> 1], "method"falsefalsefalse128)], "method"falsefalsefalse128), "html"nulltrue);
  495.             echo "\">";
  496.             // line 129
  497.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("go_to_the_first_page", [], "SonataAdminBundle"), "html"nulltrue);
  498.             // line 130
  499.             echo "</a>
  500.                                             </li>";
  501.         } elseif ( !twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 132
  502. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'132$this->source); })()), "request", [], "any"falsefalsefalse132), "xmlHttpRequest", [], "any"falsefalsefalse132)) {
  503.             // line 133
  504.             $this->loadTemplate($this->env->getRuntime('Sonata\AdminBundle\Twig\TemplateRegistryRuntime')->getAdminTemplate("button_create"twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'133$this->source); })()), "code", [], "any"falsefalsefalse133)), "@SonataAdmin/CRUD/base_list.html.twig"133)->display($context);
  505.         }
  506.         // line 135
  507.         echo "</ul>
  508.                                 </div>
  509.                             </div><!-- /.info-box-content -->
  510.                         </div>
  511.                     ";
  512.         
  513.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  514.         
  515.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  516.     }
  517.     // line 144
  518.     public function block_list_footer($context, array $blocks = [])
  519.     {
  520.         $macros $this->macros;
  521.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  522.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""list_footer"));
  523.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  524.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""list_footer"));
  525.         // line 145
  526.         echo "                ";
  527.         if ((isset($context["datagrid_has_results"]) || array_key_exists("datagrid_has_results"$context) ? $context["datagrid_has_results"] : (function () { throw new RuntimeError('Variable "datagrid_has_results" does not exist.'145$this->source); })())) {
  528.             // line 146
  529.             echo "                    <div class=\"box-footer\">
  530.                         <div class=\"form-inline clearfix\">
  531.                             ";
  532.             // line 148
  533.             if ( !twig_get_attribute($this->env$this->sourcetwig_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.'148$this->source); })()), "request", [], "any"falsefalsefalse148), "isXmlHttpRequest", [], "any"falsefalsefalse148)) {
  534.                 // line 149
  535.                 echo "                                <div class=\"pull-left\">
  536.                                     ";
  537.                 // line 150
  538.                 if ((twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'150$this->source); })()), "hasRoute", [=> "batch"], "method"falsefalsefalse150) && (=== twig_compare(twig_length_filter($this->env, (isset($context["batchactions"]) || array_key_exists("batchactions"$context) ? $context["batchactions"] : (function () { throw new RuntimeError('Variable "batchactions" does not exist.'150$this->source); })())), 0)))) {
  539.                     // line 151
  540.                     echo "                                        ";
  541.                     $this->displayBlock('batch'$context$blocks);
  542.                     // line 205
  543.                     echo "                                    ";
  544.                 }
  545.                 // line 206
  546.                 echo "                                </div>
  547.                                 <div class=\"pull-right\">
  548.                                     ";
  549.                 // line 209
  550.                 if (((twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'209$this->source); })()), "hasRoute", [=> "export"], "method"falsefalsefalse209) && twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'209$this->source); })()), "hasAccess", [=> "export"], "method"falsefalsefalse209)) && twig_length_filter($this->env, (isset($context["export_formats"]) || array_key_exists("export_formats"$context) ? $context["export_formats"] : (function () { throw new RuntimeError('Variable "export_formats" does not exist.'209$this->source); })())))) {
  551.                     // line 210
  552.                     echo "                                        <div class=\"btn-group\">
  553.                                             <button type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">
  554.                                                 <i class=\"fas fa-share-square\" aria-hidden=\"true\"></i>
  555.                                                 ";
  556.                     // line 213
  557.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label_export_download", [], "SonataAdminBundle"), "html"nulltrue);
  558.                     echo "
  559.                                                 <span class=\"caret\"></span>
  560.                                             </button>
  561.                                             <ul class=\"dropdown-menu\">
  562.                                                 ";
  563.                     // line 217
  564.                     $context['_parent'] = $context;
  565.                     $context['_seq'] = twig_ensure_traversable((isset($context["export_formats"]) || array_key_exists("export_formats"$context) ? $context["export_formats"] : (function () { throw new RuntimeError('Variable "export_formats" does not exist.'217$this->source); })()));
  566.                     foreach ($context['_seq'] as $context["_key"] => $context["format"]) {
  567.                         // line 218
  568.                         echo "                                                <li>
  569.                                                     <a href=\"";
  570.                         // line 219
  571.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'219$this->source); })()), "generateUrl", [=> "export"=> (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'219$this->source); })()), "datagrid", [], "any"falsefalsefalse219), "paginationparameters", [=> 0], "method"falsefalsefalse219) + ["format" => $context["format"]])], "method"falsefalsefalse219), "html"nulltrue);
  572.                         echo "\">
  573.                                                         <i class=\"fas fa-arrow-circle-o-down\" aria-hidden=\"true\"></i>
  574.                                                         ";
  575.                         // line 221
  576.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(("export_format_" $context["format"]), [], "SonataAdminBundle"), "html"nulltrue);
  577.                         echo "
  578.                                                     </a>
  579.                                                 </li>
  580.                                                 ";
  581.                     }
  582.                     $_parent $context['_parent'];
  583.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['format'], $context['_parent'], $context['loop']);
  584.                     $context array_intersect_key($context$_parent) + $_parent;
  585.                     // line 225
  586.                     echo "                                            </ul>
  587.                                         </div>
  588.                                         ";
  589.                     // line 228
  590.                     if ( !twig_test_empty(                    $this->renderBlock("pager_results"$context$blocks))) {
  591.                         // line 229
  592.                         echo "                                            &nbsp;-&nbsp;
  593.                                         ";
  594.                     }
  595.                     // line 231
  596.                     echo "                                    ";
  597.                 }
  598.                 // line 232
  599.                 echo "
  600.                                     ";
  601.                 // line 233
  602.                 $this->displayBlock('pager_results'$context$blocks);
  603.                 // line 236
  604.                 echo "                                </div>
  605.                             ";
  606.             }
  607.             // line 238
  608.             echo "                        </div>
  609.                         ";
  610.             // line 240
  611.             $this->displayBlock('pager_links'$context$blocks);
  612.             // line 246
  613.             echo "                    </div>
  614.                 ";
  615.         }
  616.         // line 248
  617.         echo "            ";
  618.         
  619.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  620.         
  621.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  622.     }
  623.     // line 151
  624.     public function block_batch($context, array $blocks = [])
  625.     {
  626.         $macros $this->macros;
  627.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  628.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""batch"));
  629.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  630.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""batch"));
  631.         // line 152
  632.         echo "                                            <script>
  633.                                                 ";
  634.         // line 153
  635.         $this->displayBlock('batch_javascript'$context$blocks);
  636.         // line 181
  637.         echo "                                            </script>
  638.                                         ";
  639.         // line 183
  640.         $this->displayBlock('batch_actions'$context$blocks);
  641.         // line 202
  642.         echo "
  643.                                             <input type=\"submit\" class=\"btn btn-small btn-primary\" value=\"";
  644.         // line 203
  645.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("btn_batch", [], "SonataAdminBundle"), "html"nulltrue);
  646.         echo "\">
  647.                                         ";
  648.         
  649.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  650.         
  651.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  652.     }
  653.     // line 153
  654.     public function block_batch_javascript($context, array $blocks = [])
  655.     {
  656.         $macros $this->macros;
  657.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  658.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""batch_javascript"));
  659.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  660.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""batch_javascript"));
  661.         // line 154
  662.         echo "                                                    jQuery(document).ready(function (\$) {
  663.                                                         // Toggle individual checkboxes when the batch checkbox is changed
  664.                                                         \$('#list_batch_checkbox').on('ifChanged change', function () {
  665.                                                             var checkboxes = \$(this)
  666.                                                                 .closest('table')
  667.                                                                 .find('td.sonata-ba-list-field-batch input[type=\"checkbox\"], div.sonata-ba-list-field-batch input[type=\"checkbox\"]')
  668.                                                             ;
  669.                                                             if (Admin.get_config('USE_ICHECK')) {
  670.                                                                 checkboxes.iCheck(\$(this).is(':checked') ? 'check' : 'uncheck');
  671.                                                             } else {
  672.                                                                 checkboxes.prop('checked', this.checked);
  673.                                                             }
  674.                                                         });
  675.                                                         // Add a CSS class to rows when they are selected
  676.                                                         \$('td.sonata-ba-list-field-batch input[type=\"checkbox\"], div.sonata-ba-list-field-batch input[type=\"checkbox\"]')
  677.                                                             .on('ifChanged change', function () {
  678.                                                                 \$(this)
  679.                                                                     .closest('tr, div.sonata-ba-list-field-batch')
  680.                                                                     .toggleClass('sonata-ba-list-row-selected', \$(this).is(':checked'))
  681.                                                                 ;
  682.                                                             })
  683.                                                             .trigger('ifChanged')
  684.                                                         ;
  685.                                                     });
  686.                                                 ";
  687.         
  688.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  689.         
  690.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  691.     }
  692.     // line 183
  693.     public function block_batch_actions($context, array $blocks = [])
  694.     {
  695.         $macros $this->macros;
  696.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  697.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""batch_actions"));
  698.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  699.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""batch_actions"));
  700.         // line 184
  701.         echo "                                            <label class=\"checkbox\" for=\"";
  702.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'184$this->source); })()), "uniqid", [], "any"falsefalsefalse184), "html"nulltrue);
  703.         echo "_all_elements\">
  704.                                                 <input type=\"checkbox\" name=\"all_elements\" id=\"";
  705.         // line 185
  706.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'185$this->source); })()), "uniqid", [], "any"falsefalsefalse185), "html"nulltrue);
  707.         echo "_all_elements\">
  708.                                                 ";
  709.         // line 186
  710.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("all_elements", [], "SonataAdminBundle"), "html"nulltrue);
  711.         echo "
  712.                                                 (";
  713.         // line 187
  714.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'187$this->source); })()), "datagrid", [], "any"falsefalsefalse187), "pager", [], "any"falsefalsefalse187), "countResults", [], "method"falsefalsefalse187), "html"nulltrue);
  715.         echo ")
  716.                                             </label>
  717.                                             <select name=\"action\" style=\"width: auto; height: auto\" class=\"form-control\">
  718.                                                 ";
  719.         // line 191
  720.         $context['_parent'] = $context;
  721.         $context['_seq'] = twig_ensure_traversable((isset($context["batchactions"]) || array_key_exists("batchactions"$context) ? $context["batchactions"] : (function () { throw new RuntimeError('Variable "batchactions" does not exist.'191$this->source); })()));
  722.         foreach ($context['_seq'] as $context["action"] => $context["options"]) {
  723.             // line 192
  724.             echo "                                                    <option value=\"";
  725.             echo twig_escape_filter($this->env$context["action"], "html"nulltrue);
  726.             echo "\">
  727.                                                         ";
  728.             // line 193
  729.             if ((twig_get_attribute($this->env$this->source$context["options"], "translation_domain", [], "any"truetruefalse193) && (twig_get_attribute($this->env$this->source$context["options"], "translation_domain", [], "any"falsefalsefalse193) === false))) {
  730.                 // line 194
  731.                 echo "                                                            ";
  732.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["options"], "label", [], "any"falsefalsefalse194), "html"nulltrue);
  733.                 echo "
  734.                                                         ";
  735.             } else {
  736.                 // line 196
  737.                 echo "                                                            ";
  738.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["options"], "label", [], "any"falsefalsefalse196), [], (((twig_get_attribute($this->env$this->source$context["options"], "translation_domain", [], "any"truetruefalse196) &&  !(null === twig_get_attribute($this->env$this->source$context["options"], "translation_domain", [], "any"falsefalsefalse196)))) ? (twig_get_attribute($this->env$this->source$context["options"], "translation_domain", [], "any"falsefalsefalse196)) : (twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'196$this->source); })()), "translationDomain", [], "any"falsefalsefalse196)))), "html"nulltrue);
  739.                 echo "
  740.                                                         ";
  741.             }
  742.             // line 198
  743.             echo "                                                    </option>
  744.                                                 ";
  745.         }
  746.         $_parent $context['_parent'];
  747.         unset($context['_seq'], $context['_iterated'], $context['action'], $context['options'], $context['_parent'], $context['loop']);
  748.         $context array_intersect_key($context$_parent) + $_parent;
  749.         // line 200
  750.         echo "                                            </select>
  751.                                         ";
  752.         
  753.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  754.         
  755.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  756.     }
  757.     // line 233
  758.     public function block_pager_results($context, array $blocks = [])
  759.     {
  760.         $macros $this->macros;
  761.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  762.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pager_results"));
  763.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  764.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pager_results"));
  765.         // line 234
  766.         echo "                                        ";
  767.         $this->loadTemplate($this->env->getRuntime('Sonata\AdminBundle\Twig\TemplateRegistryRuntime')->getAdminTemplate("pager_results"twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'234$this->source); })()), "code", [], "any"falsefalsefalse234)), "@SonataAdmin/CRUD/base_list.html.twig"234)->display($context);
  768.         // line 235
  769.         echo "                                    ";
  770.         
  771.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  772.         
  773.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  774.     }
  775.     // line 240
  776.     public function block_pager_links($context, array $blocks = [])
  777.     {
  778.         $macros $this->macros;
  779.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  780.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pager_links"));
  781.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  782.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pager_links"));
  783.         // line 241
  784.         echo "                            ";
  785.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'241$this->source); })()), "datagrid", [], "any"falsefalsefalse241), "pager", [], "any"falsefalsefalse241), "haveToPaginate", [], "method"falsefalsefalse241)) {
  786.             // line 242
  787.             echo "                                <hr/>
  788.                                 ";
  789.             // line 243
  790.             $this->loadTemplate($this->env->getRuntime('Sonata\AdminBundle\Twig\TemplateRegistryRuntime')->getAdminTemplate("pager_links"twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'243$this->source); })()), "code", [], "any"falsefalsefalse243)), "@SonataAdmin/CRUD/base_list.html.twig"243)->display($context);
  791.             // line 244
  792.             echo "                            ";
  793.         }
  794.         // line 245
  795.         echo "                        ";
  796.         
  797.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  798.         
  799.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  800.     }
  801.     // line 256
  802.     public function block_list_filters_actions($context, array $blocks = [])
  803.     {
  804.         $macros $this->macros;
  805.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  806.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""list_filters_actions"));
  807.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  808.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""list_filters_actions"));
  809.         // line 257
  810.         echo "    ";
  811.         $context["displayableFilters"] = twig_array_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'257$this->source); })()), "datagrid", [], "any"falsefalsefalse257), "filters", [], "any"falsefalsefalse257), function ($__filter__) use ($context$macros) { $context["filter"] = $__filter__; return  !(twig_get_attribute($this->env$this->source, (isset($context["filter"]) || array_key_exists("filter"$context) ? $context["filter"] : (function () { throw new RuntimeError('Variable "filter" does not exist.'257$this->source); })()), "option", [=> "show_filter"], "method"falsefalsefalse257) === false); });
  812.         // line 258
  813.         if (twig_length_filter($this->env, (isset($context["displayableFilters"]) || array_key_exists("displayableFilters"$context) ? $context["displayableFilters"] : (function () { throw new RuntimeError('Variable "displayableFilters" does not exist.'258$this->source); })()))) {
  814.             // line 259
  815.             echo "        <ul class=\"nav navbar-nav navbar-right\">
  816.             <li class=\"dropdown sonata-actions\">
  817.                 <a href=\"#\" class=\"dropdown-toggle sonata-ba-action\" data-toggle=\"dropdown\">
  818.                     <i class=\"fas fa-filter\" aria-hidden=\"true\"></i>
  819.                     ";
  820.             // line 264
  821.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("link_filters", [], "SonataAdminBundle"), "html"nulltrue);
  822.             echo "
  823.                     <span class=\"badge sonata-filter-count\"></span>
  824.                     <b class=\"caret\"></b>
  825.                 </a>
  826.                 <ul class=\"dropdown-menu dropdown-menu-scrollable\" role=\"menu\">
  827.                     ";
  828.             // line 270
  829.             $context['_parent'] = $context;
  830.             $context['_seq'] = twig_ensure_traversable((isset($context["displayableFilters"]) || array_key_exists("displayableFilters"$context) ? $context["displayableFilters"] : (function () { throw new RuntimeError('Variable "displayableFilters" does not exist.'270$this->source); })()));
  831.             foreach ($context['_seq'] as $context["_key"] => $context["filter"]) {
  832.                 // line 271
  833.                 echo "                        ";
  834.                 $context["filterDisplayed"] = (twig_get_attribute($this->env$this->source$context["filter"], "isActive", [], "method"falsefalsefalse271) || (twig_get_attribute($this->env$this->source$context["filter"], "option", [=> "show_filter"], "method"falsefalsefalse271) === true));
  835.                 // line 272
  836.                 echo "                        <li>
  837.                             <a href=\"#\" class=\"sonata-toggle-filter sonata-ba-action\" filter-target=\"filter-";
  838.                 // line 273
  839.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'273$this->source); })()), "uniqid", [], "any"falsefalsefalse273), "html"nulltrue);
  840.                 echo "-";
  841.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["filter"], "name", [], "any"falsefalsefalse273), "html"nulltrue);
  842.                 echo "\" filter-container=\"filter-container-";
  843.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'273$this->source); })()), "uniqid", [], "method"falsefalsefalse273), "html"nulltrue);
  844.                 echo "\">
  845.                                 <i class=\"far ";
  846.                 // line 274
  847.                 echo (((isset($context["filterDisplayed"]) || array_key_exists("filterDisplayed"$context) ? $context["filterDisplayed"] : (function () { throw new RuntimeError('Variable "filterDisplayed" does not exist.'274$this->source); })())) ? ("fa-check-square") : ("fa-square"));
  848.                 echo "\"></i>
  849.                                 ";
  850.                 // line 275
  851.                 if ( !(twig_get_attribute($this->env$this->source$context["filter"], "label", [], "any"falsefalsefalse275) === false)) {
  852.                     // line 276
  853.                     echo "                                    ";
  854.                     if ((twig_get_attribute($this->env$this->source$context["filter"], "translationDomain", [], "any"falsefalsefalse276) === false)) {
  855.                         // line 277
  856.                         echo "                                        ";
  857.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["filter"], "label", [], "any"falsefalsefalse277), "html"nulltrue);
  858.                         echo "
  859.                                     ";
  860.                     } else {
  861.                         // line 279
  862.                         echo "                                        ";
  863.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["filter"], "label", [], "any"falsefalsefalse279), twig_get_attribute($this->env$this->source$context["filter"], "option", [=> "label_translation_parameters"=> []], "method"falsefalsefalse279), (((twig_get_attribute($this->env$this->source$context["filter"], "translationDomain", [], "any"truetruefalse279) &&  !(null === twig_get_attribute($this->env$this->source$context["filter"], "translationDomain", [], "any"falsefalsefalse279)))) ? (twig_get_attribute($this->env$this->source$context["filter"], "translationDomain", [], "any"falsefalsefalse279)) : (twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'279$this->source); })()), "translationDomain", [], "any"falsefalsefalse279)))), "html"nulltrue);
  864.                         echo "
  865.                                     ";
  866.                     }
  867.                     // line 281
  868.                     echo "                                ";
  869.                 }
  870.                 // line 282
  871.                 echo "                            </a>
  872.                         </li>
  873.                     ";
  874.             }
  875.             $_parent $context['_parent'];
  876.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['filter'], $context['_parent'], $context['loop']);
  877.             $context array_intersect_key($context$_parent) + $_parent;
  878.             // line 285
  879.             echo "                </ul>
  880.             </li>
  881.         </ul>
  882.     ";
  883.         }
  884.         
  885.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  886.         
  887.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  888.     }
  889.     // line 291
  890.     public function block_list_filters($context, array $blocks = [])
  891.     {
  892.         $macros $this->macros;
  893.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  894.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""list_filters"));
  895.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  896.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""list_filters"));
  897.         // line 292
  898.         echo "    ";
  899.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'292$this->source); })()), "datagrid", [], "any"falsefalsefalse292), "filters", [], "any"falsefalsefalse292)) {
  900.             // line 293
  901.             echo "        ";
  902.             $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'293$this->source); })()), [=> $this->env->getRuntime('Sonata\AdminBundle\Twig\TemplateRegistryRuntime')->getAdminTemplate("filter"twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'293$this->source); })()), "code", [], "any"falsefalsefalse293))], true);
  903.             // line 294
  904.             echo "
  905.         <div class=\"col-xs-12 col-md-12 sonata-filters-box\" style=\"display: ";
  906.             // line 295
  907.             echo ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'295$this->source); })()), "datagrid", [], "any"falsefalsefalse295), "hasDisplayableFilters", [], "any"falsefalsefalse295)) ? ("block") : ("none"));
  908.             echo "\" id=\"filter-container-";
  909.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'295$this->source); })()), "uniqid", [], "method"falsefalsefalse295), "html"nulltrue);
  910.             echo "\">
  911.             <div class=\"box box-primary\" >
  912.                 <div class=\"box-body\">
  913.                     <form
  914.                         class=\"sonata-filter-form form-horizontal ";
  915.             // line 299
  916.             echo (((twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'299$this->source); })()), "isChild", [], "any"falsefalsefalse299) && (=== twig_compare(1twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'299$this->source); })()), "datagrid", [], "any"falsefalsefalse299), "filters", [], "any"falsefalsefalse299)))))) ? ("hide") : (""));
  917.             echo "\"
  918.                         action=\"";
  919.             // line 300
  920.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'300$this->source); })()), "generateUrl", [=> "list"], "method"falsefalsefalse300), "html"nulltrue);
  921.             echo "\"
  922.                         method=\"GET\"
  923.                         role=\"form\"
  924.                         data-default-values=\"";
  925.             // line 303
  926.             echo twig_escape_filter($this->envjson_encode(twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'303$this->source); })()), "defaultFilterParameters", [], "any"falsefalsefalse303)), "html"nulltrue);
  927.             echo "\"
  928.                     >
  929.                         ";
  930.             // line 305
  931.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'305$this->source); })()), 'errors');
  932.             echo "
  933.                         <div class=\"row\">
  934.                             <div class=\"col-sm-9\">
  935.                                 ";
  936.             // line 309
  937.             $context["withAdvancedFilter"] = false;
  938.             // line 310
  939.             echo "                                ";
  940.             $context['_parent'] = $context;
  941.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'310$this->source); })()), "datagrid", [], "any"falsefalsefalse310), "filters", [], "any"falsefalsefalse310));
  942.             $context['loop'] = [
  943.               'parent' => $context['_parent'],
  944.               'index0' => 0,
  945.               'index'  => 1,
  946.               'first'  => true,
  947.             ];
  948.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  949.                 $length count($context['_seq']);
  950.                 $context['loop']['revindex0'] = $length 1;
  951.                 $context['loop']['revindex'] = $length;
  952.                 $context['loop']['length'] = $length;
  953.                 $context['loop']['last'] = === $length;
  954.             }
  955.             foreach ($context['_seq'] as $context["_key"] => $context["filter"]) {
  956.                 // line 311
  957.                 echo "                                    ";
  958.                 $context["filterDisplayed"] = (twig_get_attribute($this->env$this->source$context["filter"], "isActive", [], "method"falsefalsefalse311) || (twig_get_attribute($this->env$this->source$context["filter"], "option", [=> "show_filter"], "method"falsefalsefalse311) === true));
  959.                 // line 312
  960.                 echo "                                    ";
  961.                 $context["filterCanBeDisplayed"] =  !(twig_get_attribute($this->env$this->source$context["filter"], "option", [=> "show_filter"], "method"falsefalsefalse312) === false);
  962.                 // line 313
  963.                 echo "                                    <div class=\"form-group ";
  964.                 $this->displayBlock('sonata_list_filter_group_class'$context$blocks);
  965.                 echo "\" id=\"filter-";
  966.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'313$this->source); })()), "uniqid", [], "any"falsefalsefalse313), "html"nulltrue);
  967.                 echo "-";
  968.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["filter"], "name", [], "any"falsefalsefalse313), "html"nulltrue);
  969.                 echo "\" sonata-filter=\"";
  970.                 echo (((isset($context["filterCanBeDisplayed"]) || array_key_exists("filterCanBeDisplayed"$context) ? $context["filterCanBeDisplayed"] : (function () { throw new RuntimeError('Variable "filterCanBeDisplayed" does not exist.'313$this->source); })())) ? ("true") : ("false"));
  971.                 echo "\" style=\"display: ";
  972.                 if ((isset($context["filterDisplayed"]) || array_key_exists("filterDisplayed"$context) ? $context["filterDisplayed"] : (function () { throw new RuntimeError('Variable "filterDisplayed" does not exist.'313$this->source); })())) {
  973.                     echo "block";
  974.                 } else {
  975.                     echo "none";
  976.                 }
  977.                 echo "\">
  978.                                         ";
  979.                 // line 314
  980.                 if ( !(twig_get_attribute($this->env$this->source$context["filter"], "label", [], "any"falsefalsefalse314) === false)) {
  981.                     // line 315
  982.                     echo "                                            <label for=\"";
  983.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'315$this->source); })()), twig_get_attribute($this->env$this->source$context["filter"], "formName", [], "any"falsefalsefalse315), [], "array"falsefalsefalse315), "children", [], "any"falsefalsefalse315), "value", [], "array"falsefalsefalse315), "vars", [], "any"falsefalsefalse315), "id", [], "any"falsefalsefalse315), "html"nulltrue);
  984.                     echo "\" class=\"col-sm-3 control-label\">
  985.                                                 ";
  986.                     // line 316
  987.                     if ((twig_get_attribute($this->env$this->source$context["filter"], "translationDomain", [], "any"falsefalsefalse316) === false)) {
  988.                         // line 317
  989.                         echo "                                                    ";
  990.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["filter"], "label", [], "any"falsefalsefalse317), "html"nulltrue);
  991.                         echo "
  992.                                                 ";
  993.                     } else {
  994.                         // line 319
  995.                         echo "                                                    ";
  996.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["filter"], "label", [], "any"falsefalsefalse319), twig_get_attribute($this->env$this->source$context["filter"], "option", [=> "label_translation_parameters"=> []], "method"falsefalsefalse319), (((twig_get_attribute($this->env$this->source$context["filter"], "translationDomain", [], "any"truetruefalse319) &&  !(null === twig_get_attribute($this->env$this->source$context["filter"], "translationDomain", [], "any"falsefalsefalse319)))) ? (twig_get_attribute($this->env$this->source$context["filter"], "translationDomain", [], "any"falsefalsefalse319)) : (twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'319$this->source); })()), "translationDomain", [], "any"falsefalsefalse319)))), "html"nulltrue);
  997.                         echo "
  998.                                                 ";
  999.                     }
  1000.                     // line 321
  1001.                     echo "                                            </label>
  1002.                                         ";
  1003.                 }
  1004.                 // line 323
  1005.                 echo "                                        ";
  1006.                 $context["attr"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["form"] ?? null), twig_get_attribute($this->env$this->source$context["filter"], "formName", [], "any"falsefalsefalse323), [], "array"falsetruefalse323), "children", [], "any"falsetruefalse323), "type", [], "array"falsetruefalse323), "vars", [], "any"falsetruefalse323), "attr", [], "any"truetruefalse323)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["form"] ?? null), twig_get_attribute($this->env$this->source$context["filter"], "formName", [], "any"falsefalsefalse323), [], "array"falsetruefalse323), "children", [], "any"falsetruefalse323), "type", [], "array"falsetruefalse323), "vars", [], "any"falsetruefalse323), "attr", [], "any"falsefalsefalse323), [])) : ([]));
  1007.                 // line 324
  1008.                 echo "
  1009.                                         <div class=\"col-sm-4 advanced-filter\">
  1010.                                             ";
  1011.                 // line 326
  1012.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'326$this->source); })()), twig_get_attribute($this->env$this->source$context["filter"], "formName", [], "any"falsefalsefalse326), [], "array"falsefalsefalse326), "children", [], "any"falsefalsefalse326), "type", [], "array"falsefalsefalse326), 'widget', ["attr" => (isset($context["attr"]) || array_key_exists("attr"$context) ? $context["attr"] : (function () { throw new RuntimeError('Variable "attr" does not exist.'326$this->source); })())]);
  1013.                 echo "
  1014.                                         </div>
  1015.                                         <div class=\"col-sm-4\">
  1016.                                             ";
  1017.                 // line 330
  1018.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'330$this->source); })()), twig_get_attribute($this->env$this->source$context["filter"], "formName", [], "any"falsefalsefalse330), [], "array"falsefalsefalse330), "children", [], "any"falsefalsefalse330), "value", [], "array"falsefalsefalse330), 'widget');
  1019.                 echo "
  1020.                                         </div>
  1021.                                         ";
  1022.                 // line 333
  1023.                 if ((isset($context["filterCanBeDisplayed"]) || array_key_exists("filterCanBeDisplayed"$context) ? $context["filterCanBeDisplayed"] : (function () { throw new RuntimeError('Variable "filterCanBeDisplayed" does not exist.'333$this->source); })())) {
  1024.                     // line 334
  1025.                     echo "                                            <div class=\"col-sm-1\">
  1026.                                                 <label class=\"control-label\">
  1027.                                                     <a href=\"#\" class=\"sonata-toggle-filter sonata-ba-action\" filter-target=\"filter-";
  1028.                     // line 336
  1029.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'336$this->source); })()), "uniqid", [], "any"falsefalsefalse336), "html"nulltrue);
  1030.                     echo "-";
  1031.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["filter"], "name", [], "any"falsefalsefalse336), "html"nulltrue);
  1032.                     echo "\" filter-container=\"filter-container-";
  1033.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'336$this->source); })()), "uniqid", [], "method"falsefalsefalse336), "html"nulltrue);
  1034.                     echo "\">
  1035.                                                         <i class=\"fas fa-minus-circle\" aria-hidden=\"true\"></i>
  1036.                                                     </a>
  1037.                                                 </label>
  1038.                                             </div>
  1039.                                         ";
  1040.                 }
  1041.                 // line 342
  1042.                 echo "                                    </div>
  1043.                                     ";
  1044.                 // line 344
  1045.                 if (twig_get_attribute($this->env$this->source$context["filter"], "option", [=> "advanced_filter"], "method"falsefalsefalse344)) {
  1046.                     // line 345
  1047.                     echo "                                        ";
  1048.                     $context["withAdvancedFilter"] = true;
  1049.                     // line 346
  1050.                     echo "                                    ";
  1051.                 }
  1052.                 // line 347
  1053.                 echo "                                ";
  1054.                 ++$context['loop']['index0'];
  1055.                 ++$context['loop']['index'];
  1056.                 $context['loop']['first'] = false;
  1057.                 if (isset($context['loop']['length'])) {
  1058.                     --$context['loop']['revindex0'];
  1059.                     --$context['loop']['revindex'];
  1060.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  1061.                 }
  1062.             }
  1063.             $_parent $context['_parent'];
  1064.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['filter'], $context['_parent'], $context['loop']);
  1065.             $context array_intersect_key($context$_parent) + $_parent;
  1066.             // line 348
  1067.             echo "                            </div>
  1068.                             <div class=\"col-sm-3 text-center\">
  1069.                                 <input type=\"hidden\" name=\"filter[";
  1070.             // line 350
  1071.             echo twig_escape_filter($this->envtwig_constant("Sonata\\AdminBundle\\Datagrid\\DatagridInterface::PAGE"), "html"nulltrue);
  1072.             echo "]\" id=\"filter__page\" value=\"1\">
  1073.                                 ";
  1074.             // line 352
  1075.             $context["foo"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'352$this->source); })()), twig_constant("Sonata\\AdminBundle\\Datagrid\\DatagridInterface::PAGE"), [], "array"falsefalsefalse352), "setRendered", [], "method"falsefalsefalse352);
  1076.             // line 353
  1077.             echo "                                ";
  1078.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'353$this->source); })()), 'rest');
  1079.             echo "
  1080.                                 <div class=\"form-group\">
  1081.                                     <button type=\"submit\" class=\"btn btn-primary\">
  1082.                                         <i class=\"fas fa-filter\" aria-hidden=\"true\"></i> ";
  1083.             // line 357
  1084.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("btn_filter", [], "SonataAdminBundle"), "html"nulltrue);
  1085.             echo "
  1086.                                     </button>
  1087.                                     <a class=\"btn btn-default\" href=\"";
  1088.             // line 360
  1089.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'360$this->source); })()), "generateUrl", [=> "list"=> ["filters" => "reset"]], "method"falsefalsefalse360), "html"nulltrue);
  1090.             echo "\">
  1091.                                         ";
  1092.             // line 361
  1093.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("link_reset_filter", [], "SonataAdminBundle"), "html"nulltrue);
  1094.             echo "
  1095.                                     </a>
  1096.                                 </div>
  1097.                                 ";
  1098.             // line 365
  1099.             if ((isset($context["withAdvancedFilter"]) || array_key_exists("withAdvancedFilter"$context) ? $context["withAdvancedFilter"] : (function () { throw new RuntimeError('Variable "withAdvancedFilter" does not exist.'365$this->source); })())) {
  1100.                 // line 366
  1101.                 echo "                                    <div class=\"form-group\">
  1102.                                         <a href=\"#\" data-toggle=\"advanced-filter\">
  1103.                                             <i class=\"fas fa-cogs\" aria-hidden=\"true\"></i>
  1104.                                             ";
  1105.                 // line 369
  1106.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("btn_advanced_filters", [], "SonataAdminBundle"), "html"nulltrue);
  1107.                 echo "
  1108.                                         </a>
  1109.                                     </div>
  1110.                                 ";
  1111.             }
  1112.             // line 373
  1113.             echo "                            </div>
  1114.                         </div>
  1115.                         ";
  1116.             // line 376
  1117.             $context['_parent'] = $context;
  1118.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["admin"]) || array_key_exists("admin"$context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.'376$this->source); })()), "persistentParameters", [], "any"falsefalsefalse376));
  1119.             foreach ($context['_seq'] as $context["paramKey"] => $context["paramValue"]) {
  1120.                 // line 377
  1121.                 echo "                            <input type=\"hidden\" name=\"";
  1122.                 echo twig_escape_filter($this->env$context["paramKey"], "html"nulltrue);
  1123.                 echo "\" value=\"";
  1124.                 echo twig_escape_filter($this->env$context["paramValue"], "html"nulltrue);
  1125.                 echo "\">
  1126.                         ";
  1127.             }
  1128.             $_parent $context['_parent'];
  1129.             unset($context['_seq'], $context['_iterated'], $context['paramKey'], $context['paramValue'], $context['_parent'], $context['loop']);
  1130.             $context array_intersect_key($context$_parent) + $_parent;
  1131.             // line 379
  1132.             echo "                    </form>
  1133.                 </div>
  1134.             </div>
  1135.         </div>
  1136.     ";
  1137.         }
  1138.         
  1139.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1140.         
  1141.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1142.     }
  1143.     // line 313
  1144.     public function block_sonata_list_filter_group_class($context, array $blocks = [])
  1145.     {
  1146.         $macros $this->macros;
  1147.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1148.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sonata_list_filter_group_class"));
  1149.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1150.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sonata_list_filter_group_class"));
  1151.         
  1152.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1153.         
  1154.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1155.     }
  1156.     public function getTemplateName()
  1157.     {
  1158.         return "@SonataAdmin/CRUD/base_list.html.twig";
  1159.     }
  1160.     public function isTraitable()
  1161.     {
  1162.         return false;
  1163.     }
  1164.     public function getDebugInfo()
  1165.     {
  1166.         return array (  1270 => 313,  1255 => 379,  1244 => 377,  1240 => 376,  1235 => 373,  1228 => 369,  1223 => 366,  1221 => 365,  1214 => 361,  1210 => 360,  1204 => 357,  1196 => 353,  1194 => 352,  1189 => 350,  1185 => 348,  1171 => 347,  1168 => 346,  1165 => 345,  1163 => 344,  1159 => 342,  1146 => 336,  1142 => 334,  1140 => 333,  1134 => 330,  1127 => 326,  1123 => 324,  1120 => 323,  1116 => 321,  1110 => 319,  1104 => 317,  1102 => 316,  1097 => 315,  1095 => 314,  1078 => 313,  1075 => 312,  1072 => 311,  1054 => 310,  1052 => 309,  1045 => 305,  1040 => 303,  1034 => 300,  1030 => 299,  1021 => 295,  1018 => 294,  1015 => 293,  1012 => 292,  1002 => 291,  988 => 285,  980 => 282,  977 => 281,  971 => 279,  965 => 277,  962 => 276,  960 => 275,  956 => 274,  948 => 273,  945 => 272,  942 => 271,  938 => 270,  929 => 264,  922 => 259,  920 => 258,  917 => 257,  907 => 256,  897 => 245,  894 => 244,  892 => 243,  889 => 242,  886 => 241,  876 => 240,  866 => 235,  863 => 234,  853 => 233,  842 => 200,  835 => 198,  829 => 196,  823 => 194,  821 => 193,  816 => 192,  812 => 191,  805 => 187,  801 => 186,  797 => 185,  792 => 184,  782 => 183,  746 => 154,  736 => 153,  724 => 203,  721 => 202,  719 => 183,  715 => 181,  713 => 153,  710 => 152,  700 => 151,  690 => 248,  686 => 246,  684 => 240,  680 => 238,  676 => 236,  674 => 233,  671 => 232,  668 => 231,  664 => 229,  662 => 228,  657 => 225,  647 => 221,  642 => 219,  639 => 218,  635 => 217,  628 => 213,  623 => 210,  621 => 209,  616 => 206,  613 => 205,  610 => 151,  608 => 150,  605 => 149,  603 => 148,  599 => 146,  596 => 145,  586 => 144,  572 => 135,  569 => 133,  567 => 132,  564 => 130,  562 => 129,  559 => 128,  556 => 127,  554 => 126,  546 => 120,  541 => 117,  531 => 116,  521 => 112,  511 => 111,  500 => 108,  498 => 107,  495 => 106,  485 => 105,  473 => 101,  467 => 100,  464 => 99,  462 => 81,  458 => 97,  453 => 96,  450 => 95,  444 => 93,  438 => 91,  435 => 90,  432 => 89,  426 => 86,  423 => 85,  420 => 84,  414 => 83,  393 => 82,  391 => 81,  388 => 80,  385 => 79,  382 => 78,  379 => 77,  377 => 76,  376 => 75,  374 => 74,  371 => 73,  368 => 72,  365 => 71,  362 => 70,  359 => 69,  357 => 68,  354 => 67,  352 => 66,  350 => 65,  348 => 64,  345 => 63,  343 => 62,  338 => 59,  335 => 58,  331 => 57,  327 => 55,  317 => 54,  306 => 113,  304 => 111,  301 => 110,  299 => 105,  296 => 104,  294 => 54,  291 => 53,  281 => 52,  263 => 49,  252 => 253,  248 => 251,  246 => 250,  243 => 249,  241 => 144,  236 => 142,  233 => 141,  230 => 140,  227 => 116,  224 => 115,  221 => 52,  219 => 51,  216 => 50,  214 => 49,  209 => 47,  203 => 46,  196 => 45,  193 => 43,  188 => 41,  183 => 40,  180 => 39,  178 => 38,  175 => 37,  165 => 36,  152 => 30,  142 => 29,  129 => 26,  119 => 25,  109 => 19,  99 => 18,  89 => 15,  79 => 14,  69 => 12,  67 => 34,  54 => 12,);
  1167.     }
  1168.     public function getSourceContext()
  1169.     {
  1170.         return new Source("{#
  1171. This file is part of the Sonata package.
  1172. (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  1173. For the full copyright and license information, please view the LICENSE
  1174. file that was distributed with this source code.
  1175. #}
  1176. {% extends base_template %}
  1177. {%- block actions -%}
  1178.     {% include '@SonataAdmin/CRUD/action_buttons.html.twig' %}
  1179. {%- endblock -%}
  1180. {%- block tab_menu -%}
  1181.     {{ knp_menu_render(admin.sidemenu(action), {
  1182.         'currentClass': 'active',
  1183.         'template': get_global_template('tab_menu_template')
  1184.     }, 'twig') }}
  1185. {%- endblock -%}
  1186. {% block title %}
  1187.     {{ admin.isChild and admin.parent.subject ? 'title_edit'|trans({'%name%': admin.parent.toString(admin.parent.subject)|u.truncate(15, '...') }, 'SonataAdminBundle') : '' }}
  1188. {% endblock %}
  1189. {% block navbar_title %}
  1190.     {{ admin.isChild and admin.parent.subject ? 'title_edit'|trans({'%name%': admin.parent.toString(admin.parent.subject)|u.truncate(100, '...') }, 'SonataAdminBundle') : '' }}
  1191. {% endblock %}
  1192. {# Define the variable out of the block to prevent error if someone is overriding the list_table and not the list_footer #}
  1193. {% set datagrid_has_results = admin.datagrid.results|length > 0 %}
  1194. {% block list_table %}
  1195.     <div class=\"col-xs-12 col-md-12\">
  1196.         {% set batchactions = admin.batchactions %}
  1197.         {% if admin.hasRoute('batch') and batchactions|length %}
  1198.             <form action=\"{{ admin.generateUrl('batch', {'filter': admin.filterParameters}) }}\" method=\"POST\" >
  1199.             <input type=\"hidden\" name=\"_sonata_csrf_token\" value=\"{{ csrf_token }}\">
  1200.         {% endif %}
  1201.         {# Add a margin if no pager to prevent dropdown cropping on window #}
  1202.         <div class=\"box box-primary\"{% if admin.datagrid.pager.lastPage == 1 %} style=\"margin-bottom: 100px;\"{% endif %}>
  1203.             <div class=\"box-body{% if datagrid_has_results %} table-responsive no-padding{% endif %}\">
  1204.                 {{ sonata_block_render_event('sonata.admin.list.table.top', { 'admin': admin }) }}
  1205.                 {% block list_header %}{% endblock %}
  1206.                 {% if datagrid_has_results %}
  1207.                     {% block table %}
  1208.                         <table class=\"table table-bordered table-striped table-hover sonata-ba-list\">
  1209.                         {% block table_header %}
  1210.                             <thead>
  1211.                                 <tr class=\"sonata-ba-list-field-header\">
  1212.                                     {% for field_description in admin.list.getElements() %}
  1213.                                         {% if admin.hasRoute('batch') and field_description.name == constant('Sonata\\\\AdminBundle\\\\Datagrid\\\\ListMapper::NAME_BATCH') and batchactions|length > 0 %}
  1214.                                             <th class=\"sonata-ba-list-field-header sonata-ba-list-field-header-batch\">
  1215.                                               <input type=\"checkbox\" id=\"list_batch_checkbox\">
  1216.                                             </th>
  1217.                                         {% elseif field_description.name == constant('Sonata\\\\AdminBundle\\\\Datagrid\\\\ListMapper::NAME_SELECT') %}
  1218.                                             <th class=\"sonata-ba-list-field-header sonata-ba-list-field-header-select\"></th>
  1219.                                         {% elseif field_description.name == constant('Sonata\\\\AdminBundle\\\\Datagrid\\\\ListMapper::NAME_ACTIONS') and app.request.isXmlHttpRequest %}
  1220.                                             {# NEXT_MAJOR: Remove this case in version 5 and recommend using the option `ajax_hidden` instead. #}
  1221.                                             {# Action buttons disabled in ajax view! #}
  1222.                                         {% elseif field_description.getOption('ajax_hidden') == true and app.request.isXmlHttpRequest %}
  1223.                                             {# Disable fields with 'ajax_hidden' option set to true #}
  1224.                                         {% else %}
  1225.                                             {% set sortable = false %}
  1226.                                             {% if field_description.option('sortable', false) %}
  1227.                                                 {% set sortable             = true %}
  1228.                                                 {% set sort_parameters      = admin.datagrid.sortparameters(field_description) %}
  1229.                                                 {% set current              = admin.datagrid.values[constant('Sonata\\\\AdminBundle\\\\Datagrid\\\\DatagridInterface::SORT_BY')] is defined
  1230.                                                     and (admin.datagrid.values[constant('Sonata\\\\AdminBundle\\\\Datagrid\\\\DatagridInterface::SORT_BY')] == field_description
  1231.                                                         or admin.datagrid.values[constant('Sonata\\\\AdminBundle\\\\Datagrid\\\\DatagridInterface::SORT_BY')].name == sort_parameters.filter[constant('Sonata\\\\AdminBundle\\\\Datagrid\\\\DatagridInterface::SORT_BY')]) %}
  1232.                                                 {% set sort_active_class    = current ? 'sonata-ba-list-field-order-active' : '' %}
  1233.                                                 {% set sort_by              = current ? admin.datagrid.values[constant('Sonata\\\\AdminBundle\\\\Datagrid\\\\DatagridInterface::SORT_ORDER')] : field_description.option(constant('Sonata\\\\AdminBundle\\\\Datagrid\\\\DatagridInterface::SORT_ORDER'), sort_parameters.filter[constant('Sonata\\\\AdminBundle\\\\Datagrid\\\\DatagridInterface::SORT_ORDER')]) %}
  1234.                                             {% endif %}
  1235.                                             {% apply spaceless %}
  1236.                                                 <th class=\"sonata-ba-list-field-header-{{ field_description.type }}{% if sortable %} sonata-ba-list-field-header-order-{{ sort_by|lower }} {{ sort_active_class }}{% endif %}{% if field_description.option('header_class') %} {{ field_description.option('header_class') }}{% endif %}\"{% if field_description.option('header_style') %} style=\"{{ field_description.option('header_style') }}\"{% endif %}>
  1237.                                                     {% if sortable %}<a href=\"{{ admin.generateUrl('list', sort_parameters|merge({_list_mode: admin.getListMode()})) }}\">{% endif %}
  1238.                                                     {% if field_description.getOption('label_icon') %}
  1239.                                                         <span class=\"sonata-ba-list-field-header-label-icon\">
  1240.                                                             {{ field_description.getOption('label_icon')|parse_icon }}
  1241.                                                         </span>
  1242.                                                     {% endif %}
  1243.                                                     {% if field_description.label is not same as(false) %}
  1244.                                                         {% if field_description.translationDomain is same as(false) %}
  1245.                                                             {{ field_description.label }}
  1246.                                                         {% else %}
  1247.                                                             {{ field_description.label|trans({}, field_description.translationDomain) }}
  1248.                                                         {% endif %}
  1249.                                                     {% endif %}
  1250.                                                     {% if sortable %}</a>{% endif %}
  1251.                                                 </th>
  1252.                                             {% endapply %}
  1253.                                         {% endif %}
  1254.                                     {% endfor %}
  1255.                                 </tr>
  1256.                             </thead>
  1257.                         {% endblock %}
  1258.                         {% block table_body %}
  1259.                             <tbody>
  1260.                                 {% include get_admin_template('outer_list_rows_' ~ admin.getListMode(), admin.code) %}
  1261.                             </tbody>
  1262.                         {% endblock %}
  1263.                         {% block table_footer %}
  1264.                         {% endblock %}
  1265.                     </table>
  1266.                     {% endblock %}
  1267.                 {% else %}
  1268.                     {% block no_result_content %}
  1269.                         <div class=\"info-box\">
  1270.                             <span class=\"info-box-icon bg-aqua\"><i class=\"fas fa-arrow-circle-right\" aria-hidden=\"true\"></i></span>
  1271.                             <div class=\"info-box-content\">
  1272.                                 <span class=\"info-box-text\">{{ 'no_result'|trans({}, 'SonataAdminBundle') }}</span>
  1273.                                 <div class=\"progress\">
  1274.                                     <div class=\"progress-bar\" style=\"width: 0%\"></div>
  1275.                                 </div>
  1276.                                 <div class=\"progress-description\">
  1277.                                     <ul class=\"list-inline\">
  1278.                                         {%- if admin.datagrid.pager.countResults() > 0 -%}
  1279.                                             <li>
  1280.                                                 <a href=\"{{ admin.generateUrl('list', admin.datagrid.getPaginationParameters(1)) }}\">
  1281.                                                     {{- 'go_to_the_first_page'|trans({}, 'SonataAdminBundle') -}}
  1282.                                                 </a>
  1283.                                             </li>
  1284.                                         {%- elseif not app.request.xmlHttpRequest -%}
  1285.                                             {%- include get_admin_template('button_create', admin.code) -%}
  1286.                                         {%- endif -%}
  1287.                                     </ul>
  1288.                                 </div>
  1289.                             </div><!-- /.info-box-content -->
  1290.                         </div>
  1291.                     {% endblock %}
  1292.                 {% endif %}
  1293.                 {{ sonata_block_render_event('sonata.admin.list.table.bottom', { 'admin': admin }) }}
  1294.             </div>
  1295.             {% block list_footer %}
  1296.                 {% if datagrid_has_results %}
  1297.                     <div class=\"box-footer\">
  1298.                         <div class=\"form-inline clearfix\">
  1299.                             {% if not app.request.isXmlHttpRequest %}
  1300.                                 <div class=\"pull-left\">
  1301.                                     {% if admin.hasRoute('batch') and batchactions|length > 0 %}
  1302.                                         {% block batch %}
  1303.                                             <script>
  1304.                                                 {% block batch_javascript %}
  1305.                                                     jQuery(document).ready(function (\$) {
  1306.                                                         // Toggle individual checkboxes when the batch checkbox is changed
  1307.                                                         \$('#list_batch_checkbox').on('ifChanged change', function () {
  1308.                                                             var checkboxes = \$(this)
  1309.                                                                 .closest('table')
  1310.                                                                 .find('td.sonata-ba-list-field-batch input[type=\"checkbox\"], div.sonata-ba-list-field-batch input[type=\"checkbox\"]')
  1311.                                                             ;
  1312.                                                             if (Admin.get_config('USE_ICHECK')) {
  1313.                                                                 checkboxes.iCheck(\$(this).is(':checked') ? 'check' : 'uncheck');
  1314.                                                             } else {
  1315.                                                                 checkboxes.prop('checked', this.checked);
  1316.                                                             }
  1317.                                                         });
  1318.                                                         // Add a CSS class to rows when they are selected
  1319.                                                         \$('td.sonata-ba-list-field-batch input[type=\"checkbox\"], div.sonata-ba-list-field-batch input[type=\"checkbox\"]')
  1320.                                                             .on('ifChanged change', function () {
  1321.                                                                 \$(this)
  1322.                                                                     .closest('tr, div.sonata-ba-list-field-batch')
  1323.                                                                     .toggleClass('sonata-ba-list-row-selected', \$(this).is(':checked'))
  1324.                                                                 ;
  1325.                                                             })
  1326.                                                             .trigger('ifChanged')
  1327.                                                         ;
  1328.                                                     });
  1329.                                                 {% endblock %}
  1330.                                             </script>
  1331.                                         {% block batch_actions %}
  1332.                                             <label class=\"checkbox\" for=\"{{ admin.uniqid }}_all_elements\">
  1333.                                                 <input type=\"checkbox\" name=\"all_elements\" id=\"{{ admin.uniqid }}_all_elements\">
  1334.                                                 {{ 'all_elements'|trans({}, 'SonataAdminBundle') }}
  1335.                                                 ({{ admin.datagrid.pager.countResults() }})
  1336.                                             </label>
  1337.                                             <select name=\"action\" style=\"width: auto; height: auto\" class=\"form-control\">
  1338.                                                 {% for action, options in batchactions %}
  1339.                                                     <option value=\"{{ action }}\">
  1340.                                                         {% if options.translation_domain is defined and options.translation_domain is same as(false) %}
  1341.                                                             {{ options.label }}
  1342.                                                         {% else %}
  1343.                                                             {{ options.label|trans({}, options.translation_domain ?? admin.translationDomain) }}
  1344.                                                         {% endif %}
  1345.                                                     </option>
  1346.                                                 {% endfor %}
  1347.                                             </select>
  1348.                                         {% endblock %}
  1349.                                             <input type=\"submit\" class=\"btn btn-small btn-primary\" value=\"{{ 'btn_batch'|trans({}, 'SonataAdminBundle') }}\">
  1350.                                         {% endblock %}
  1351.                                     {% endif %}
  1352.                                 </div>
  1353.                                 <div class=\"pull-right\">
  1354.                                     {% if admin.hasRoute('export') and admin.hasAccess('export') and export_formats|length %}
  1355.                                         <div class=\"btn-group\">
  1356.                                             <button type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">
  1357.                                                 <i class=\"fas fa-share-square\" aria-hidden=\"true\"></i>
  1358.                                                 {{ \"label_export_download\"|trans({}, \"SonataAdminBundle\") }}
  1359.                                                 <span class=\"caret\"></span>
  1360.                                             </button>
  1361.                                             <ul class=\"dropdown-menu\">
  1362.                                                 {% for format in export_formats %}
  1363.                                                 <li>
  1364.                                                     <a href=\"{{ admin.generateUrl('export', admin.datagrid.paginationparameters(0) + {'format' : format}) }}\">
  1365.                                                         <i class=\"fas fa-arrow-circle-o-down\" aria-hidden=\"true\"></i>
  1366.                                                         {{ (\"export_format_\" ~ format)|trans({}, 'SonataAdminBundle') }}
  1367.                                                     </a>
  1368.                                                 </li>
  1369.                                                 {% endfor %}
  1370.                                             </ul>
  1371.                                         </div>
  1372.                                         {% if block('pager_results') is not empty %}
  1373.                                             &nbsp;-&nbsp;
  1374.                                         {% endif %}
  1375.                                     {% endif %}
  1376.                                     {% block pager_results %}
  1377.                                         {% include get_admin_template('pager_results', admin.code) %}
  1378.                                     {% endblock %}
  1379.                                 </div>
  1380.                             {% endif %}
  1381.                         </div>
  1382.                         {% block pager_links %}
  1383.                             {% if admin.datagrid.pager.haveToPaginate() %}
  1384.                                 <hr/>
  1385.                                 {% include get_admin_template('pager_links', admin.code) %}
  1386.                             {% endif %}
  1387.                         {% endblock %}
  1388.                     </div>
  1389.                 {% endif %}
  1390.             {% endblock %}
  1391.         </div>
  1392.         {% if admin.hasRoute('batch') and batchactions|length %}
  1393.             </form>
  1394.         {% endif %}
  1395.     </div>
  1396. {% endblock %}
  1397. {% block list_filters_actions %}
  1398.     {% set displayableFilters = admin.datagrid.filters|filter(filter => filter.option('show_filter') is not same as (false)) %}
  1399.     {%- if displayableFilters|length %}
  1400.         <ul class=\"nav navbar-nav navbar-right\">
  1401.             <li class=\"dropdown sonata-actions\">
  1402.                 <a href=\"#\" class=\"dropdown-toggle sonata-ba-action\" data-toggle=\"dropdown\">
  1403.                     <i class=\"fas fa-filter\" aria-hidden=\"true\"></i>
  1404.                     {{ 'link_filters'|trans({}, 'SonataAdminBundle') }}
  1405.                     <span class=\"badge sonata-filter-count\"></span>
  1406.                     <b class=\"caret\"></b>
  1407.                 </a>
  1408.                 <ul class=\"dropdown-menu dropdown-menu-scrollable\" role=\"menu\">
  1409.                     {% for filter in displayableFilters %}
  1410.                         {% set filterDisplayed = filter.isActive() or filter.option('show_filter') is same as (true) %}
  1411.                         <li>
  1412.                             <a href=\"#\" class=\"sonata-toggle-filter sonata-ba-action\" filter-target=\"filter-{{ admin.uniqid }}-{{ filter.name }}\" filter-container=\"filter-container-{{ admin.uniqid() }}\">
  1413.                                 <i class=\"far {{ filterDisplayed ? 'fa-check-square' : 'fa-square' }}\"></i>
  1414.                                 {% if filter.label is not same as(false) %}
  1415.                                     {% if filter.translationDomain is same as(false) %}
  1416.                                         {{ filter.label }}
  1417.                                     {% else %}
  1418.                                         {{ filter.label|trans(filter.option('label_translation_parameters', {}), filter.translationDomain ?? admin.translationDomain) }}
  1419.                                     {% endif %}
  1420.                                 {% endif %}
  1421.                             </a>
  1422.                         </li>
  1423.                     {% endfor %}
  1424.                 </ul>
  1425.             </li>
  1426.         </ul>
  1427.     {% endif -%}
  1428. {% endblock %}
  1429. {% block list_filters %}
  1430.     {% if admin.datagrid.filters %}
  1431.         {% form_theme form get_admin_template('filter', admin.code) %}
  1432.         <div class=\"col-xs-12 col-md-12 sonata-filters-box\" style=\"display: {{ admin.datagrid.hasDisplayableFilters ? 'block' : 'none' }}\" id=\"filter-container-{{ admin.uniqid() }}\">
  1433.             <div class=\"box box-primary\" >
  1434.                 <div class=\"box-body\">
  1435.                     <form
  1436.                         class=\"sonata-filter-form form-horizontal {{ admin.isChild and 1 == admin.datagrid.filters|length ? 'hide' : '' }}\"
  1437.                         action=\"{{ admin.generateUrl('list') }}\"
  1438.                         method=\"GET\"
  1439.                         role=\"form\"
  1440.                         data-default-values=\"{{ admin.defaultFilterParameters|json_encode }}\"
  1441.                     >
  1442.                         {{ form_errors(form) }}
  1443.                         <div class=\"row\">
  1444.                             <div class=\"col-sm-9\">
  1445.                                 {% set withAdvancedFilter = false %}
  1446.                                 {% for filter in admin.datagrid.filters %}
  1447.                                     {% set filterDisplayed = filter.isActive() or filter.option('show_filter') is same as (true) %}
  1448.                                     {% set filterCanBeDisplayed = filter.option('show_filter') is not same as(false) %}
  1449.                                     <div class=\"form-group {% block sonata_list_filter_group_class %}{% endblock %}\" id=\"filter-{{ admin.uniqid }}-{{ filter.name }}\" sonata-filter=\"{{ filterCanBeDisplayed ? 'true' : 'false' }}\" style=\"display: {% if filterDisplayed %}block{% else %}none{% endif %}\">
  1450.                                         {% if filter.label is not same as(false) %}
  1451.                                             <label for=\"{{ form[filter.formName].children['value'].vars.id }}\" class=\"col-sm-3 control-label\">
  1452.                                                 {% if filter.translationDomain is same as(false) %}
  1453.                                                     {{ filter.label }}
  1454.                                                 {% else %}
  1455.                                                     {{ filter.label|trans(filter.option('label_translation_parameters', {}), filter.translationDomain ?? admin.translationDomain) }}
  1456.                                                 {% endif %}
  1457.                                             </label>
  1458.                                         {% endif %}
  1459.                                         {% set attr = form[filter.formName].children['type'].vars.attr|default({}) %}
  1460.                                         <div class=\"col-sm-4 advanced-filter\">
  1461.                                             {{ form_widget(form[filter.formName].children['type'], {'attr':  attr}) }}
  1462.                                         </div>
  1463.                                         <div class=\"col-sm-4\">
  1464.                                             {{ form_widget(form[filter.formName].children['value']) }}
  1465.                                         </div>
  1466.                                         {% if filterCanBeDisplayed %}
  1467.                                             <div class=\"col-sm-1\">
  1468.                                                 <label class=\"control-label\">
  1469.                                                     <a href=\"#\" class=\"sonata-toggle-filter sonata-ba-action\" filter-target=\"filter-{{ admin.uniqid }}-{{ filter.name }}\" filter-container=\"filter-container-{{ admin.uniqid() }}\">
  1470.                                                         <i class=\"fas fa-minus-circle\" aria-hidden=\"true\"></i>
  1471.                                                     </a>
  1472.                                                 </label>
  1473.                                             </div>
  1474.                                         {% endif %}
  1475.                                     </div>
  1476.                                     {% if filter.option('advanced_filter') %}
  1477.                                         {% set withAdvancedFilter = true %}
  1478.                                     {% endif %}
  1479.                                 {% endfor %}
  1480.                             </div>
  1481.                             <div class=\"col-sm-3 text-center\">
  1482.                                 <input type=\"hidden\" name=\"filter[{{ constant('Sonata\\\\AdminBundle\\\\Datagrid\\\\DatagridInterface::PAGE') }}]\" id=\"filter__page\" value=\"1\">
  1483.                                 {% set foo = form[constant('Sonata\\\\AdminBundle\\\\Datagrid\\\\DatagridInterface::PAGE')].setRendered() %}
  1484.                                 {{ form_rest(form) }}
  1485.                                 <div class=\"form-group\">
  1486.                                     <button type=\"submit\" class=\"btn btn-primary\">
  1487.                                         <i class=\"fas fa-filter\" aria-hidden=\"true\"></i> {{ 'btn_filter'|trans({}, 'SonataAdminBundle') }}
  1488.                                     </button>
  1489.                                     <a class=\"btn btn-default\" href=\"{{ admin.generateUrl('list', {filters: 'reset'}) }}\">
  1490.                                         {{ 'link_reset_filter'|trans({}, 'SonataAdminBundle') }}
  1491.                                     </a>
  1492.                                 </div>
  1493.                                 {% if withAdvancedFilter %}
  1494.                                     <div class=\"form-group\">
  1495.                                         <a href=\"#\" data-toggle=\"advanced-filter\">
  1496.                                             <i class=\"fas fa-cogs\" aria-hidden=\"true\"></i>
  1497.                                             {{ 'btn_advanced_filters'|trans({}, 'SonataAdminBundle') }}
  1498.                                         </a>
  1499.                                     </div>
  1500.                                 {% endif %}
  1501.                             </div>
  1502.                         </div>
  1503.                         {% for paramKey, paramValue in admin.persistentParameters %}
  1504.                             <input type=\"hidden\" name=\"{{ paramKey }}\" value=\"{{ paramValue }}\">
  1505.                         {% endfor %}
  1506.                     </form>
  1507.                 </div>
  1508.             </div>
  1509.         </div>
  1510.     {% endif %}
  1511. {% endblock %}
  1512. ""@SonataAdmin/CRUD/base_list.html.twig""/var/www/test-dashboard.talkabot.net/public_html/dashboard/vendor/sonata-project/admin-bundle/src/Resources/views/CRUD/base_list.html.twig");
  1513.     }
  1514. }