var/cache/dev/twig/74/74e5e2b9d07b768319f758cc672a67c7.php line 49

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. /* @SonataTranslation/standard_layout.html.twig */
  14. class __TwigTemplate_bbba53f6514477e0d4d13278f359361b 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.             'html_attributes' => [$this'block_html_attributes'],
  24.             'stylesheets' => [$this'block_stylesheets'],
  25.             'javascripts' => [$this'block_javascripts'],
  26.             'admin_lte_skin_class' => [$this'block_admin_lte_skin_class'],
  27.             'body_attributes' => [$this'block_body_attributes'],
  28.             'sonata_page_content_nav' => [$this'block_sonata_page_content_nav'],
  29.             'tab_menu_navbar_header' => [$this'block_tab_menu_navbar_header'],
  30.             'sonata_admin_content_actions_wrappers' => [$this'block_sonata_admin_content_actions_wrappers'],
  31.             'navbar_actions_filters_prometeo_left' => [$this'block_navbar_actions_filters_prometeo_left'],
  32.             'navbar_actions_filters_prometeo_right' => [$this'block_navbar_actions_filters_prometeo_right'],
  33.             'sonata_wrapper' => [$this'block_sonata_wrapper'],
  34.             'side_bar_after_nav_content' => [$this'block_side_bar_after_nav_content'],
  35.         ];
  36.     }
  37.     protected function doGetParent(array $context)
  38.     {
  39.         // line 1
  40.         return "@!SonataTranslation/standard_layout.html.twig";
  41.     }
  42.     protected function doDisplay(array $context, array $blocks = [])
  43.     {
  44.         $macros $this->macros;
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SonataTranslation/standard_layout.html.twig"));
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SonataTranslation/standard_layout.html.twig"));
  49.         // line 5
  50.         $context["adminCode"] = "";
  51.         // line 6
  52.         if (array_key_exists("admin"$context)) {
  53.             // line 7
  54.             $context["adminCode"] = $this->extensions['App\Twig\PregreplaceExtension']->pregreplace(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.'7$this->source); })()), "getCode", [], "any"falsefalsefalse7), "/(.*)\\./""");
  55.             // line 8
  56.             $context["cssRoute"] = (("assets/admin/css/" . (isset($context["adminCode"]) || array_key_exists("adminCode"$context) ? $context["adminCode"] : (function () { throw new RuntimeError('Variable "adminCode" does not exist.'8$this->source); })())) . "/specific.css");
  57.             // line 9
  58.             $context["jsRoute"] = (("assets/admin/js/" . (isset($context["adminCode"]) || array_key_exists("adminCode"$context) ? $context["adminCode"] : (function () { throw new RuntimeError('Variable "adminCode" does not exist.'9$this->source); })())) . "/specific.js");
  59.         }
  60.         // line 1
  61.         $this->parent $this->loadTemplate("@!SonataTranslation/standard_layout.html.twig""@SonataTranslation/standard_layout.html.twig"1);
  62.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  63.         
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  65.         
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  67.     }
  68.     // line 3
  69.     public function block_html_attributes($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""html_attributes"));
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""html_attributes"));
  76.         $this->displayParentBlock("html_attributes"$context$blocks);
  77.         echo " lang=\"";
  78.         echo twig_escape_filter($this->envtwig_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.'3$this->source); })()), "request", [], "any"falsefalsefalse3), "locale", [], "any"falsefalsefalse3), "html"nulltrue);
  79.         echo "\" ";
  80.         
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  82.         
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  84.     }
  85.     // line 12
  86.     public function block_stylesheets($context, array $blocks = [])
  87.     {
  88.         $macros $this->macros;
  89.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  90.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  93.         // line 13
  94.         echo "    <link rel=\"icon\" type=\"image/x-icon\" href=\"";
  95.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/favicon.png"), "html"nulltrue);
  96.         echo "\">
  97.     ";
  98.         // line 15
  99.         $this->displayParentBlock("stylesheets"$context$blocks);
  100.         echo "
  101.     ";
  102.         // line 18
  103.         echo "    <style>
  104.         .sonata-readmore {
  105.             display: -webkit-box !important;
  106.             -webkit-line-clamp: 1 !important;
  107.             -webkit-box-orient: vertical !important;
  108.             overflow: hidden !important;
  109.             text-overflow: ellipsis !important;
  110.             cursor: help !important;
  111.             word-wrap: break-word !important;
  112.         }
  113.         @keyframes spin {
  114.             0% { transform: rotate(0deg); }
  115.             100% { transform: rotate(360deg); }
  116.         }
  117.     </style>
  118.     <link rel=\"stylesheet\" href=\"";
  119.         // line 35
  120.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/prometeo/css/list-action-toolbar-prometeo.css"), "html"nulltrue);
  121.         echo "\">
  122.     <link rel=\"stylesheet\" href=\"";
  123.         // line 36
  124.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/prometeo/css/modal-nav-prometeo.css"), "html"nulltrue);
  125.         echo "\">
  126.     <link rel=\"stylesheet\" href=\"";
  127.         // line 37
  128.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/prometeo/css/nav-filter-prometeo.css"), "html"nulltrue);
  129.         echo "\">
  130.     <link rel=\"stylesheet\" href=\"";
  131.         // line 38
  132.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/prometeo/css/nav-prometeo.css"), "html"nulltrue);
  133.         echo "\">
  134.     <link rel=\"stylesheet\" href=\"";
  135.         // line 39
  136.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/prometeo/css/model-list-type.css"), "html"nulltrue);
  137.         echo "\">
  138.     <link rel=\"stylesheet\" href=\"";
  139.         // line 40
  140.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/prometeo/css/more-info.css"), "html"nulltrue);
  141.         echo "\">
  142.     <link rel=\"stylesheet\" href=\"";
  143.         // line 41
  144.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/prometeo/css/table-card.css"), "html"nulltrue);
  145.         echo "\">
  146.     <link rel=\"stylesheet\" href=\"";
  147.         // line 42
  148.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/plugins/bootstrap-dialog/css/bootstrap-dialog.min.css"), "html"nulltrue);
  149.         echo "\">
  150.     <link rel=\"stylesheet\" href=\"//code.jquery.com/ui/1.12.1/themes/smoothness/jquery-ui.css\">
  151.     <link rel=\"stylesheet\" href=\"";
  152.         // line 44
  153.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/plugins/fontawesome-610/css/all.min.css"), "html"nulltrue);
  154.         echo "\">
  155.     <link rel=\"stylesheet\" href=\"";
  156.         // line 45
  157.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/plugins/webfonts/uicons-solid-rounded.css"), "html"nulltrue);
  158.         echo "\">
  159.     <link rel=\"stylesheet\" href=\"";
  160.         // line 46
  161.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/plugins/codemirror/lib/codemirror.css"), "html"nulltrue);
  162.         echo "\">
  163.     ";
  164.         // line 49
  165.         if ((array_key_exists("admin"$context) && array_key_exists("cssRoute"$context))) {
  166.             // line 50
  167.             echo "        <link rel=\"stylesheet\" href=\"";
  168.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["cssRoute"]) || array_key_exists("cssRoute"$context) ? $context["cssRoute"] : (function () { throw new RuntimeError('Variable "cssRoute" does not exist.'50$this->source); })())), "html"nulltrue);
  169.             echo "\">
  170.     ";
  171.         }
  172.         // line 52
  173.         echo "
  174. ";
  175.         
  176.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  177.         
  178.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  179.     }
  180.     // line 55
  181.     public function block_javascripts($context, array $blocks = [])
  182.     {
  183.         $macros $this->macros;
  184.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  185.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  186.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  187.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  188.         // line 56
  189.         echo "    ";
  190.         $this->displayParentBlock("javascripts"$context$blocks);
  191.         echo "
  192.     ";
  193.         // line 58
  194.         $this->loadTemplate("JS/translations_js.html.twig""@SonataTranslation/standard_layout.html.twig"58)->display($context);
  195.         // line 59
  196.         echo "    ";
  197.         $this->loadTemplate("JS/env_js.html.twig""@SonataTranslation/standard_layout.html.twig"59)->display($context);
  198.         // line 60
  199.         echo "    ";
  200.         $this->loadTemplate("JS/routes_js.html.twig""@SonataTranslation/standard_layout.html.twig"60)->display($context);
  201.         // line 61
  202.         echo "
  203.     <script src=\"";
  204.         // line 62
  205.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/plugins/bootstrap-dialog/js/bootstrap-dialog.min.js"), "html"nulltrue);
  206.         echo "\"></script>
  207.     <script src=\"";
  208.         // line 64
  209.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/plugins/codemirror/lib/codemirror.js"), "html"nulltrue);
  210.         echo "\"></script>
  211.     <script src=\"";
  212.         // line 65
  213.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/plugins/codemirror/lib/mode/javascript/javascript.js"), "html"nulltrue);
  214.         echo "\"></script>
  215.     <script src=\"";
  216.         // line 66
  217.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/plugins/codemirror/lib/mode/twig/twig.js"), "html"nulltrue);
  218.         echo "\"></script>
  219.     <script src=\"";
  220.         // line 68
  221.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/plugins/autonumeric/autonumeric.min.js"), "html"nulltrue);
  222.         echo "\"></script>
  223.     <script src=\"";
  224.         // line 69
  225.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/plugins/autonumeric/autonumeric.functions.js"), "html"nulltrue);
  226.         echo "\"></script>
  227.     <script src=\"";
  228.         // line 70
  229.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/prometeo/js/jquery.functions.js"), "html"nulltrue);
  230.         echo "\"></script>
  231.     <script src=\"";
  232.         // line 71
  233.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/prometeo/js/table-to-card.js"), "html"nulltrue);
  234.         echo "\"></script>
  235.     <script src=\"";
  236.         // line 72
  237.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/prometeo/js/nav-prometeo.js"), "html"nulltrue);
  238.         echo "\"></script>
  239.     <script src=\"";
  240.         // line 73
  241.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/nav-prometeo-perseo.js"), "html"nulltrue);
  242.         echo "\"></script>
  243.     <script src=\"";
  244.         // line 74
  245.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/prometeo/js/pre-load-image.js"), "html"nulltrue);
  246.         echo "\"></script>
  247.     <script src=\"";
  248.         // line 75
  249.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/prometeo/js/pre-load-file.js"), "html"nulltrue);
  250.         echo "\"></script>
  251.     <script src=\"";
  252.         // line 76
  253.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/prometeo/js/modal-view-image-original.js"), "html"nulltrue);
  254.         echo "\"></script>
  255.     <script src=\"";
  256.         // line 77
  257.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/prometeo/js/modal-view-file-original.js"), "html"nulltrue);
  258.         echo "\"></script>
  259.     <script src=\"";
  260.         // line 78
  261.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/prometeo/js/vichuploader-delete.js"), "html"nulltrue);
  262.         echo "\"></script>
  263.     <script src=\"";
  264.         // line 79
  265.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/prometeo/js/combos-anidados.js"), "html"nulltrue);
  266.         echo "\"></script>
  267.     <script src=\"";
  268.         // line 80
  269.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/prometeo/js/slider.js"), "html"nulltrue);
  270.         echo "\"></script>
  271.     <script src=\"//code.jquery.com/ui/1.12.1/jquery-ui.js\"></script>
  272.     <script src=\"";
  273.         // line 83
  274.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/perseo.js"), "html"nulltrue);
  275.         echo "\"></script>
  276.     ";
  277.         // line 85
  278.         if ((array_key_exists("admin"$context) && array_key_exists("jsRoute"$context))) {
  279.             // line 86
  280.             echo "        <script src=\"";
  281.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["jsRoute"]) || array_key_exists("jsRoute"$context) ? $context["jsRoute"] : (function () { throw new RuntimeError('Variable "jsRoute" does not exist.'86$this->source); })())), "html"nulltrue);
  282.             echo "\"></script>
  283.     ";
  284.         }
  285.         // line 88
  286.         echo "
  287.     <script type=\"text/javascript\">
  288.         \$(function(){
  289.             \$(\"form\").on(\"submit\", function()
  290.             {
  291.                 \$(\"form\").find(\"input.numeric\").getNumericValues();
  292.             });
  293.             \$(\"input.percents\").setPercent();
  294.             \$(\"input.numerics\").setNumeric();
  295.             \$(\"input.currencies\").setCurrency();
  296.             \$(\"input.grams\").setGram();
  297.             \$(\".codemirror-twig\").each(function(index, value)
  298.             {
  299.                 CodeMirror.fromTextArea(value, {
  300.                     lineWrapping: true,
  301.                     fixedGutter: false,
  302.                     foldGutter: true,
  303.                     mode: \"twig\",
  304.                     theme: \"darcula\",
  305.                     lineNumbers: true,
  306.                     gutters: [\"CodeMirror-linenumbers\", \"CodeMirror-foldgutter\"]
  307.                 });
  308.             });
  309.             ";
  310.         // line 115
  311.         echo "            ";
  312.         // line 116
  313.         echo "            ";
  314.         // line 117
  315.         echo "            ";
  316.         // line 118
  317.         echo "            ";
  318.         // line 119
  319.         echo "            ";
  320.         // line 120
  321.         echo "            ";
  322.         // line 121
  323.         echo "            ";
  324.         // line 122
  325.         echo "
  326.             ";
  327.         // line 124
  328.         echo "            ";
  329.         // line 125
  330.         echo "            ";
  331.         // line 126
  332.         echo "            ";
  333.         // line 127
  334.         echo "            ";
  335.         // line 128
  336.         echo "            ";
  337.         // line 129
  338.         echo "            ";
  339.         // line 130
  340.         echo "            ";
  341.         // line 131
  342.         echo "            ";
  343.         // line 132
  344.         echo "
  345.             ";
  346.         // line 134
  347.         echo "        });
  348.     </script>
  349. ";
  350.         
  351.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  352.         
  353.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  354.     }
  355.     // line 138
  356.     public function block_admin_lte_skin_class($context, array $blocks = [])
  357.     {
  358.         $macros $this->macros;
  359.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  360.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""admin_lte_skin_class"));
  361.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  362.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""admin_lte_skin_class"));
  363.         // line 139
  364.         echo "    ";
  365.         $this->displayParentBlock("admin_lte_skin_class"$context$blocks);
  366.         echo "
  367.     ";
  368.         // line 140
  369.         echo twig_escape_filter($this->env, (isset($context["adminCode"]) || array_key_exists("adminCode"$context) ? $context["adminCode"] : (function () { throw new RuntimeError('Variable "adminCode" does not exist.'140$this->source); })()), "html"nulltrue);
  370.         echo "
  371. ";
  372.         
  373.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  374.         
  375.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  376.     }
  377.     // line 143
  378.     public function block_body_attributes($context, array $blocks = [])
  379.     {
  380.         $macros $this->macros;
  381.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  382.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_attributes"));
  383.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  384.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_attributes"));
  385.         // line 144
  386.         echo "    ";
  387.         $this->displayParentBlock("body_attributes"$context$blocks);
  388.         echo "
  389.     ";
  390.         // line 145
  391.         if (array_key_exists("admin"$context)) {
  392.             echo "id=\"";
  393.             echo twig_escape_filter($this->envtwig_replace_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.'145$this->source); })()), "code", [], "any"falsefalsefalse145), ["." => "_"]), "html"nulltrue);
  394.             echo "\"";
  395.         }
  396.         // line 146
  397.         echo "    ";
  398.         if (array_key_exists("admin"$context)) {
  399.             echo "data-code=\"";
  400.             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.'146$this->source); })()), "code", [], "any"falsefalsefalse146), "html"nulltrue);
  401.             echo "\"";
  402.         }
  403.         
  404.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  405.         
  406.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  407.     }
  408.     // line 150
  409.     public function block_sonata_page_content_nav($context, array $blocks = [])
  410.     {
  411.         $macros $this->macros;
  412.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  413.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sonata_page_content_nav"));
  414.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  415.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sonata_page_content_nav"));
  416.         // line 151
  417.         echo "    ";
  418.         if ((((( !twig_test_empty((isset($context["_navbar_title"]) || array_key_exists("_navbar_title"$context) ? $context["_navbar_title"] : (function () { throw new RuntimeError('Variable "_navbar_title" does not exist.'151$this->source); })())) ||  !twig_test_empty(        // line 152
  419. (isset($context["_tab_menu"]) || array_key_exists("_tab_menu"$context) ? $context["_tab_menu"] : (function () { throw new RuntimeError('Variable "_tab_menu" does not exist.'152$this->source); })()))) ||  !twig_test_empty(        // line 153
  420. (isset($context["_actions"]) || array_key_exists("_actions"$context) ? $context["_actions"] : (function () { throw new RuntimeError('Variable "_actions" does not exist.'153$this->source); })()))) ||  !twig_test_empty(        // line 154
  421. (isset($context["_list_filters_actions"]) || array_key_exists("_list_filters_actions"$context) ? $context["_list_filters_actions"] : (function () { throw new RuntimeError('Variable "_list_filters_actions" does not exist.'154$this->source); })()))) || (((        // line 155
  422. array_key_exists("admin"$context) && 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.'155$this->source); })()), "hasRoute", ["export"], "method"falsefalsefalse155)) && 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.'155$this->source); })()), "hasAccess", ["export"], "method"falsefalsefalse155)) && twig_length_filter($this->env, ((array_key_exists("export_formats"$context)) ? (_twig_default_filter((isset($context["export_formats"]) || array_key_exists("export_formats"$context) ? $context["export_formats"] : (function () { throw new RuntimeError('Variable "export_formats" does not exist.'155$this->source); })()), 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.'155$this->source); })()), "exportFormats", [], "any"falsefalsefalse155))) : (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.'155$this->source); })()), "exportFormats", [], "any"falsefalsefalse155))))))) {
  423.             // line 157
  424.             echo "        <div class=\"content-header__title\">
  425.             ";
  426.             // line 158
  427.             if ( !twig_test_empty((isset($context["_tab_menu"]) || array_key_exists("_tab_menu"$context) ? $context["_tab_menu"] : (function () { throw new RuntimeError('Variable "_tab_menu" does not exist.'158$this->source); })()))) {
  428.                 // line 159
  429.                 echo "                <div class=\"navbar-left\">
  430.                     ";
  431.                 // line 160
  432.                 echo (isset($context["_tab_menu"]) || array_key_exists("_tab_menu"$context) ? $context["_tab_menu"] : (function () { throw new RuntimeError('Variable "_tab_menu" does not exist.'160$this->source); })());
  433.                 echo "
  434.                 </div>
  435.             ";
  436.             }
  437.             // line 163
  438.             echo "        </div>
  439.         <nav id=\"navbar-prometeo\" class=\"navbar navbar-default ";
  440.             // line 165
  441.             if (((isset($context["action"]) || array_key_exists("action"$context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.'165$this->source); })()) == "list")) {
  442.                 echo " action-list ";
  443.             }
  444.             echo "\" role=\"navigation\">
  445.             <div class=\"container-fluid\">
  446.                 ";
  447.             // line 167
  448.             $this->displayBlock('tab_menu_navbar_header'$context$blocks);
  449.             // line 172
  450.             echo "
  451.                 <div class=\"navbar-collapse\">
  452. ";
  453.             // line 179
  454.             echo "
  455. ";
  456.             // line 187
  457.             echo "
  458.                     ";
  459.             // line 188
  460.             $this->displayBlock('sonata_admin_content_actions_wrappers'$context$blocks);
  461.             // line 230
  462.             echo "
  463. ";
  464.             // line 234
  465.             echo "                </div>
  466.             </div>
  467.         </nav>
  468.     ";
  469.         }
  470.         
  471.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  472.         
  473.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  474.     }
  475.     // line 167
  476.     public function block_tab_menu_navbar_header($context, array $blocks = [])
  477.     {
  478.         $macros $this->macros;
  479.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  480.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tab_menu_navbar_header"));
  481.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  482.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tab_menu_navbar_header"));
  483.         // line 168
  484.         echo "                    ";
  485.         if ( !twig_test_empty((isset($context["_navbar_title"]) || array_key_exists("_navbar_title"$context) ? $context["_navbar_title"] : (function () { throw new RuntimeError('Variable "_navbar_title" does not exist.'168$this->source); })()))) {
  486.             // line 169
  487.             echo "                        <div class=\"navbar-header\"></div>
  488.                     ";
  489.         }
  490.         // line 171
  491.         echo "                ";
  492.         
  493.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  494.         
  495.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  496.     }
  497.     // line 188
  498.     public function block_sonata_admin_content_actions_wrappers($context, array $blocks = [])
  499.     {
  500.         $macros $this->macros;
  501.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  502.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sonata_admin_content_actions_wrappers"));
  503.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  504.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sonata_admin_content_actions_wrappers"));
  505.         // line 203
  506.         echo "                        ";
  507.         if (((isset($context["action"]) || array_key_exists("action"$context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.'203$this->source); })()) == "list")) {
  508.             // line 204
  509.             echo "                            <form ";
  510.             echo ">
  511.                         ";
  512.         }
  513.         // line 206
  514.         echo "
  515.                         <ul class=\"nav navbar-nav navbar-left\">
  516.                             ";
  517.         // line 208
  518.         $this->displayBlock('navbar_actions_filters_prometeo_left'$context$blocks);
  519.         // line 215
  520.         echo "                        </ul>
  521.                         <ul class=\"nav navbar-nav navbar-right\">
  522.                             ";
  523.         // line 217
  524.         $this->displayBlock('navbar_actions_filters_prometeo_right'$context$blocks);
  525.         // line 224
  526.         echo "                        </ul>
  527.                         ";
  528.         // line 226
  529.         if (((isset($context["action"]) || array_key_exists("action"$context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.'226$this->source); })()) == "list")) {
  530.             // line 227
  531.             echo "                            </form>
  532.                         ";
  533.         }
  534.         // line 229
  535.         echo "                    ";
  536.         
  537.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  538.         
  539.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  540.     }
  541.     // line 208
  542.     public function block_navbar_actions_filters_prometeo_left($context, array $blocks = [])
  543.     {
  544.         $macros $this->macros;
  545.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  546.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar_actions_filters_prometeo_left"));
  547.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  548.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar_actions_filters_prometeo_left"));
  549.         // line 209
  550.         echo "                                ";
  551.         if (((isset($context["action"]) || array_key_exists("action"$context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.'209$this->source); })()) == "list")) {
  552.             // line 210
  553.             echo "                                    ";
  554.             $this->loadTemplate("navbar_actions_filters_prometeo_left_list.html.twig""@SonataTranslation/standard_layout.html.twig"210)->display($context);
  555.             // line 211
  556.             echo "                                ";
  557.         } else {
  558.             // line 212
  559.             echo "                                    ";
  560.             $this->loadTemplate("navbar_actions_filters_prometeo_left_edit.html.twig""@SonataTranslation/standard_layout.html.twig"212)->display($context);
  561.             // line 213
  562.             echo "                                ";
  563.         }
  564.         // line 214
  565.         echo "                            ";
  566.         
  567.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  568.         
  569.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  570.     }
  571.     // line 217
  572.     public function block_navbar_actions_filters_prometeo_right($context, array $blocks = [])
  573.     {
  574.         $macros $this->macros;
  575.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  576.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar_actions_filters_prometeo_right"));
  577.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  578.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar_actions_filters_prometeo_right"));
  579.         // line 218
  580.         echo "                                ";
  581.         if (((isset($context["action"]) || array_key_exists("action"$context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.'218$this->source); })()) == "list")) {
  582.             // line 219
  583.             echo "                                    ";
  584.             $this->loadTemplate("navbar_actions_filters_prometeo_right_list.html.twig""@SonataTranslation/standard_layout.html.twig"219)->display($context);
  585.             // line 220
  586.             echo "                                ";
  587.         } else {
  588.             // line 221
  589.             echo "                                    ";
  590.             $this->loadTemplate("navbar_actions_filters_prometeo_right_edit.html.twig""@SonataTranslation/standard_layout.html.twig"221)->display($context);
  591.             // line 222
  592.             echo "                                ";
  593.         }
  594.         // line 223
  595.         echo "                            ";
  596.         
  597.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  598.         
  599.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  600.     }
  601.     // line 240
  602.     public function block_sonata_wrapper($context, array $blocks = [])
  603.     {
  604.         $macros $this->macros;
  605.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  606.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sonata_wrapper"));
  607.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  608.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sonata_wrapper"));
  609.         // line 241
  610.         echo "    <div id=\"loading-spinner\" style=\"display:none; position:fixed; top:50%; left:50%; transform:translate(-50%, -50%); z-index:9999;\">
  611.         <div style=\"border:4px solid #f3f3f3; border-top:4px solid #3498db; border-radius:50%; width:50px; height:50px; animation:spin 1s linear infinite;\"></div>
  612.     </div>
  613.     ";
  614.         // line 245
  615.         $this->displayParentBlock("sonata_wrapper"$context$blocks);
  616.         echo "
  617.     <script type=\"text/javascript\">
  618.         loadNavPrometeo(\$(\"body\"));
  619.         // Deshabilitar readmore completamente
  620.         if (window.Admin && window.Admin.setup_readmore_elements) {
  621.             window.Admin.setup_readmore_elements = function() {
  622.                 // No hacer nada - readmore deshabilitado
  623.             };
  624.         }
  625.         // Spinner de carga
  626.         \$('#loading-spinner').css('display', 'flex');
  627.         \$(window).on('load', function() {
  628.             \$('#loading-spinner').fadeOut();
  629.         });
  630.         // Aplicar popover a elementos con clase sonata-readmore
  631.         \$(document).ready(function() {
  632.             \$('.sonata-readmore').each(function() {
  633.                 var \$el = \$(this);
  634.                 var fullText = \$el.text();
  635.                 // Añadir popover con Bootstrap (el CSS ya está aplicado)
  636.                 \$el.popover({
  637.                     trigger: 'hover',
  638.                     placement: 'top',
  639.                     container: 'body',
  640.                     html: true,
  641.                     content: '<div style=\"max-width: 400px; max-height: 300px; overflow-y: auto; white-space: pre-wrap;\">' + fullText + '</div>'
  642.                 });
  643.             });
  644.         });
  645.         // \$parent = \$(\"body\");
  646.         // if (\$parent.find(\".filter-to-navbar-left\").html() !== undefined) {
  647.         //     if (\$parent.find(\"#action-create\").length === 1) {
  648.         //         \$parent.find('#action-create').after('<li id=\"filter-search\">' + \$parent.find('.filter-to-navbar-left').html() + '</li>');
  649.         //     } else {
  650.         //         if(\$parent.find(\"nav.navbar form > ul.navbar-left\").length) {
  651.         //             \$parent.find(\"nav.navbar form > ul.navbar-left\").prepend('<li id=\"filter-search\" class=\"filter-search-margin-left\">' + \$parent.find('.filter-to-navbar-left').html() + '</li>');
  652.         //         }
  653.         //         else
  654.         //         {
  655.         //             \$parent.find(\"#modal-navbar-prometeo form > ul.navbar-left\").prepend('<li id=\"filter-search\" class=\"filter-search-margin-left\">' + \$parent.find('.filter-to-navbar-left').html() + '</li>');
  656.         //         }
  657.         //     }
  658.         // }
  659.         //
  660.         // \$parent.find('#filter-search > div.filter-field-busqueda').append('<span class=\"fa fa-search pull-right\"></span>');
  661.         // \$parent.find('.filter-to-navbar-left').remove();
  662.         //
  663.         // \$parent.find('.filter-to-navbar-right').each(function (index, value) {
  664.         //     // Destruimos lo Select2
  665.         //     var \$select = \$(value).find('select');
  666.         //     \$select.each(function (i, item) {
  667.         //         \$(item).select2('destroy');
  668.         //     });
  669.         //
  670.         //     \$parent.find('#action-export').before('<li id=\"' + \$(value).data('id') + '\" data-order=\"' + \$(value).data('order') + '\">' + \$(value).html() + '</li>');
  671.         //     \$(value).remove();
  672.         // });
  673.         //
  674.         // \$parent.find('#action-export').attr('data-order', 999998);
  675.         // \$parent.find('#show-filters').attr('data-order', 999999).find('span').removeClass('fa-caret-down').addClass('fa-chevron-down');
  676.         //
  677.         // \$parent.find('nav ul.navbar-right').each(function () {
  678.         //     \$(this).html(\$(this).children('li').sort(function (a, b) {
  679.         //         return (\$(b).data('order')) < (\$(a).data('order')) ? 1 : -1;
  680.         //     }));
  681.         // });
  682.         //
  683.         // \$parent.find('.content-header__filters-container .prometeo-filters').each(function () {
  684.         //     \$(this).html(\$(this).find('.filter').sort(function (a, b) {
  685.         //         return (\$(b).data('order')) < (\$(a).data('order')) ? 1 : -1;
  686.         //     }));
  687.         // });
  688.         //
  689.         // // Creamos los Select2
  690.         // \$select = \$parent.find(\"nav ul.navbar-right select\");
  691.         // \$select.each(function (i, item) {
  692.         //     \$(item).select2();
  693.         // });
  694.         //
  695.         // var \$select = \$parent.find(\".content-header__filters-container .prometeo-filters select\");
  696.         // \$select.each(function (i, item) {
  697.         //     \$(item).select2(\"destroy\");
  698.         // });
  699.         //
  700.         // \$select = \$parent.find(\".content-header__filters-container .prometeo-filters select\");
  701.         // \$select.each(function (i, item) {
  702.         //     \$(item).select2();
  703.         // });
  704.         //
  705.         // if (\$parent.find(\".prometeo-filters .filter:not(.no-filter-visible)\").length === 1) {
  706.         //     \$parent.find(\"#show-filters > a\").attr(\"title\", \"No hay Filtros\");
  707.         //     \$parent.find(\"#show-filters\").addClass(\"opacity5\");
  708.         //     \$parent.find(\".content-header__filters-container\").addClass(\"hide\");
  709.         // }
  710.         //
  711.         // if (\$parent.find('.prometeo-filters .filter:not(.no-filter-visible)').length > 1) {
  712.         //     \$parent.find('#show-filters').on('click', function () {
  713.         //         if (\$parent.find('.prometeo-filters .filter').length > 0) {
  714.         //             if (\$(this).hasClass('open')) {
  715.         //                 \$(this).removeClass('open');
  716.         //                 \$parent.find('.sonata-filters-box').hide();
  717.         //                 \$parent.find('.sonata-filters-box .prometeo-filters div').hide();
  718.         //             } else {
  719.         //                 \$(this).addClass('open');
  720.         //                 \$parent.find('.sonata-filters-box').show();
  721.         //                 \$parent.find('.sonata-filters-box .prometeo-filters div').show();
  722.         //             }
  723.         //         }
  724.         //     });
  725.         // }
  726.         //
  727.         // \$(\".sonata-filters-box\").hide();
  728.         // \$parent.find(\".prometeo-filters .filter:not(.button-filter-submit)\").each(function(index, value)
  729.         // {
  730.         //     if(\$(value).css(\"display\") !== \"none\")
  731.         //     {
  732.         //         \$(\".sonata-filters-box\").show();
  733.         //         return false;
  734.         //     }
  735.         // });
  736.     </script>
  737. ";
  738.         
  739.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  740.         
  741.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  742.     }
  743.     // line 373
  744.     public function block_side_bar_after_nav_content($context, array $blocks = [])
  745.     {
  746.         $macros $this->macros;
  747.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  748.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""side_bar_after_nav_content"));
  749.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  750.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""side_bar_after_nav_content"));
  751.         // line 374
  752.         echo "    <a href=\"";
  753.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
  754.         echo "\"><img id=\"icon-menu-user\" class=\"icon-menu\" title=\"Logout\">";
  755.         echo twig_escape_filter($this->envtwig_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.'374$this->source); })()), "user", [], "any"falsefalsefalse374), "username", [], "any"falsefalsefalse374), "html"nulltrue);
  756.         echo "</a>
  757. ";
  758.         
  759.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  760.         
  761.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  762.     }
  763.     /**
  764.      * @codeCoverageIgnore
  765.      */
  766.     public function getTemplateName()
  767.     {
  768.         return "@SonataTranslation/standard_layout.html.twig";
  769.     }
  770.     /**
  771.      * @codeCoverageIgnore
  772.      */
  773.     public function isTraitable()
  774.     {
  775.         return false;
  776.     }
  777.     /**
  778.      * @codeCoverageIgnore
  779.      */
  780.     public function getDebugInfo()
  781.     {
  782.         return array (  843 => 374,  833 => 373,  696 => 245,  690 => 241,  680 => 240,  670 => 223,  667 => 222,  664 => 221,  661 => 220,  658 => 219,  655 => 218,  645 => 217,  635 => 214,  632 => 213,  629 => 212,  626 => 211,  623 => 210,  620 => 209,  610 => 208,  600 => 229,  596 => 227,  594 => 226,  590 => 224,  588 => 217,  584 => 215,  582 => 208,  578 => 206,  573 => 204,  570 => 203,  560 => 188,  550 => 171,  546 => 169,  543 => 168,  533 => 167,  519 => 234,  516 => 230,  514 => 188,  511 => 187,  508 => 179,  504 => 172,  502 => 167,  495 => 165,  491 => 163,  485 => 160,  482 => 159,  480 => 158,  477 => 157,  475 => 155,  474 => 154,  473 => 153,  472 => 152,  470 => 151,  460 => 150,  445 => 146,  439 => 145,  434 => 144,  424 => 143,  412 => 140,  407 => 139,  397 => 138,  385 => 134,  382 => 132,  380 => 131,  378 => 130,  376 => 129,  374 => 128,  372 => 127,  370 => 126,  368 => 125,  366 => 124,  363 => 122,  361 => 121,  359 => 120,  357 => 119,  355 => 118,  353 => 117,  351 => 116,  349 => 115,  321 => 88,  315 => 86,  313 => 85,  308 => 83,  302 => 80,  298 => 79,  294 => 78,  290 => 77,  286 => 76,  282 => 75,  278 => 74,  274 => 73,  270 => 72,  266 => 71,  262 => 70,  258 => 69,  254 => 68,  249 => 66,  245 => 65,  241 => 64,  236 => 62,  233 => 61,  230 => 60,  227 => 59,  225 => 58,  219 => 56,  209 => 55,  198 => 52,  192 => 50,  190 => 49,  184 => 46,  180 => 45,  176 => 44,  171 => 42,  167 => 41,  163 => 40,  159 => 39,  155 => 38,  151 => 37,  147 => 36,  143 => 35,  124 => 18,  119 => 15,  113 => 13,  103 => 12,  81 => 3,  70 => 1,  67 => 9,  65 => 8,  63 => 7,  61 => 6,  59 => 5,  46 => 1,);
  783.     }
  784.     public function getSourceContext()
  785.     {
  786.         return new Source("{% extends '@!SonataTranslation/standard_layout.html.twig' %}
  787. {% block html_attributes %}{{ parent() }} lang=\"{{ app.request.locale }}\" {% endblock %}
  788. {% set adminCode = '' %}
  789. {% if admin is defined %}
  790.     {% set adminCode = admin.getCode | pregreplace('/(.*)\\\\./', '') %}
  791.     {% set cssRoute = 'assets/admin/css/' ~ adminCode ~ '/specific.css' %}
  792.     {% set jsRoute = 'assets/admin/js/' ~ adminCode ~ '/specific.js' %}
  793. {% endif %}
  794. {% block stylesheets %}
  795.     <link rel=\"icon\" type=\"image/x-icon\" href=\"{{ asset('assets/img/favicon.png') }}\">
  796.     {{ parent() }}
  797.     {# CSS para readmore con elipsis - solo primera línea #}
  798.     <style>
  799.         .sonata-readmore {
  800.             display: -webkit-box !important;
  801.             -webkit-line-clamp: 1 !important;
  802.             -webkit-box-orient: vertical !important;
  803.             overflow: hidden !important;
  804.             text-overflow: ellipsis !important;
  805.             cursor: help !important;
  806.             word-wrap: break-word !important;
  807.         }
  808.         @keyframes spin {
  809.             0% { transform: rotate(0deg); }
  810.             100% { transform: rotate(360deg); }
  811.         }
  812.     </style>
  813.     <link rel=\"stylesheet\" href=\"{{ asset('assets/prometeo/css/list-action-toolbar-prometeo.css') }}\">
  814.     <link rel=\"stylesheet\" href=\"{{ asset('assets/prometeo/css/modal-nav-prometeo.css') }}\">
  815.     <link rel=\"stylesheet\" href=\"{{ asset('assets/prometeo/css/nav-filter-prometeo.css') }}\">
  816.     <link rel=\"stylesheet\" href=\"{{ asset('assets/prometeo/css/nav-prometeo.css') }}\">
  817.     <link rel=\"stylesheet\" href=\"{{ asset('assets/prometeo/css/model-list-type.css') }}\">
  818.     <link rel=\"stylesheet\" href=\"{{ asset('assets/prometeo/css/more-info.css') }}\">
  819.     <link rel=\"stylesheet\" href=\"{{ asset('assets/prometeo/css/table-card.css') }}\">
  820.     <link rel=\"stylesheet\" href=\"{{ asset('assets/plugins/bootstrap-dialog/css/bootstrap-dialog.min.css') }}\">
  821.     <link rel=\"stylesheet\" href=\"//code.jquery.com/ui/1.12.1/themes/smoothness/jquery-ui.css\">
  822.     <link rel=\"stylesheet\" href=\"{{ asset('assets/plugins/fontawesome-610/css/all.min.css') }}\">
  823.     <link rel=\"stylesheet\" href=\"{{ asset('assets/plugins/webfonts/uicons-solid-rounded.css') }}\">
  824.     <link rel=\"stylesheet\" href=\"{{ asset('assets/plugins/codemirror/lib/codemirror.css') }}\">
  825.     {% if admin is defined and cssRoute is defined %}
  826.         <link rel=\"stylesheet\" href=\"{{ asset(cssRoute) }}\">
  827.     {% endif %}
  828. {% endblock %}
  829. {% block javascripts %}
  830.     {{ parent() }}
  831.     {% include 'JS/translations_js.html.twig' %}
  832.     {% include 'JS/env_js.html.twig' %}
  833.     {% include 'JS/routes_js.html.twig' %}
  834.     <script src=\"{{ asset(\"assets/plugins/bootstrap-dialog/js/bootstrap-dialog.min.js\") }}\"></script>
  835.     <script src=\"{{ asset(\"assets/plugins/codemirror/lib/codemirror.js\") }}\"></script>
  836.     <script src=\"{{ asset(\"assets/plugins/codemirror/lib/mode/javascript/javascript.js\") }}\"></script>
  837.     <script src=\"{{ asset(\"assets/plugins/codemirror/lib/mode/twig/twig.js\") }}\"></script>
  838.     <script src=\"{{ asset('assets/plugins/autonumeric/autonumeric.min.js') }}\"></script>
  839.     <script src=\"{{ asset('assets/plugins/autonumeric/autonumeric.functions.js') }}\"></script>
  840.     <script src=\"{{ asset(\"assets/prometeo/js/jquery.functions.js\") }}\"></script>
  841.     <script src=\"{{ asset(\"assets/prometeo/js/table-to-card.js\") }}\"></script>
  842.     <script src=\"{{ asset(\"assets/prometeo/js/nav-prometeo.js\") }}\"></script>
  843.     <script src=\"{{ asset(\"assets/js/nav-prometeo-perseo.js\") }}\"></script>
  844.     <script src=\"{{ asset(\"assets/prometeo/js/pre-load-image.js\") }}\"></script>
  845.     <script src=\"{{ asset(\"assets/prometeo/js/pre-load-file.js\") }}\"></script>
  846.     <script src=\"{{ asset(\"assets/prometeo/js/modal-view-image-original.js\") }}\"></script>
  847.     <script src=\"{{ asset(\"assets/prometeo/js/modal-view-file-original.js\") }}\"></script>
  848.     <script src=\"{{ asset(\"assets/prometeo/js/vichuploader-delete.js\") }}\"></script>
  849.     <script src=\"{{ asset(\"assets/prometeo/js/combos-anidados.js\") }}\"></script>
  850.     <script src=\"{{ asset(\"assets/prometeo/js/slider.js\") }}\"></script>
  851.     <script src=\"//code.jquery.com/ui/1.12.1/jquery-ui.js\"></script>
  852.     <script src=\"{{ asset(\"assets/js/perseo.js\") }}\"></script>
  853.     {% if admin is defined and jsRoute is defined %}
  854.         <script src=\"{{ asset(jsRoute) }}\"></script>
  855.     {% endif %}
  856.     <script type=\"text/javascript\">
  857.         \$(function(){
  858.             \$(\"form\").on(\"submit\", function()
  859.             {
  860.                 \$(\"form\").find(\"input.numeric\").getNumericValues();
  861.             });
  862.             \$(\"input.percents\").setPercent();
  863.             \$(\"input.numerics\").setNumeric();
  864.             \$(\"input.currencies\").setCurrency();
  865.             \$(\"input.grams\").setGram();
  866.             \$(\".codemirror-twig\").each(function(index, value)
  867.             {
  868.                 CodeMirror.fromTextArea(value, {
  869.                     lineWrapping: true,
  870.                     fixedGutter: false,
  871.                     foldGutter: true,
  872.                     mode: \"twig\",
  873.                     theme: \"darcula\",
  874.                     lineNumbers: true,
  875.                     gutters: [\"CodeMirror-linenumbers\", \"CodeMirror-foldgutter\"]
  876.                 });
  877.             });
  878.             {#setInterval(function ()#}
  879.             {#{#}
  880.             {#    {% if object is defined %}#}
  881.             {#        let id = \"{{ object.id }}\";#}
  882.             {#        let action = id ? \"edit\":\"create\";#}
  883.             {#        let username = \"{{ app.user.username }}\";#}
  884.             {#        let admin = \"{{ app.request.attributes.get('_sonata_admin') }}\";#}
  885.             {#        let data = \$(\"section.content form\").serialize();#}
  886.             {#        // reescribir parte de error, para que no muestre nada.#}
  887.             {#        AjaxUtils.ajaxCall(\"{{ path('app_api_autosaveapi_autosave') }}\", {#}
  888.             {#            user: username,#}
  889.             {#            admin: admin,#}
  890.             {#            action: action,#}
  891.             {#            id: id,#}
  892.             {#            data: data#}
  893.             {#        }, null, \"POST\");#}
  894.             {#    {% endif %}#}
  895.             {#}, {{ autoSaveTime }});#}
  896.         });
  897.     </script>
  898. {% endblock %}
  899. {% block admin_lte_skin_class %}
  900.     {{ parent() }}
  901.     {{ adminCode }}
  902. {% endblock %}
  903. {% block body_attributes %}
  904.     {{ parent() }}
  905.     {% if admin is defined %}id=\"{{ admin.code|replace({'.':'_' }) }}\"{% endif %}
  906.     {% if admin is defined %}data-code=\"{{ admin.code }}\"{% endif %}
  907. {% endblock %}
  908. {% block sonata_page_content_nav %}
  909.     {% if _navbar_title is not empty
  910.         or _tab_menu is not empty
  911.         or _actions is not empty
  912.         or _list_filters_actions is not empty
  913.         or (admin is defined and admin.hasRoute('export') and admin.hasAccess('export') and export_formats|default(admin.exportFormats) | length)
  914.     %}
  915.         <div class=\"content-header__title\">
  916.             {% if _tab_menu is not empty %}
  917.                 <div class=\"navbar-left\">
  918.                     {{ _tab_menu|raw }}
  919.                 </div>
  920.             {% endif %}
  921.         </div>
  922.         <nav id=\"navbar-prometeo\" class=\"navbar navbar-default {% if action == 'list' %} action-list {% endif %}\" role=\"navigation\">
  923.             <div class=\"container-fluid\">
  924.                 {% block tab_menu_navbar_header %}
  925.                     {% if _navbar_title is not empty %}
  926.                         <div class=\"navbar-header\"></div>
  927.                     {% endif %}
  928.                 {% endblock %}
  929.                 <div class=\"navbar-collapse\">
  930. {#                    {% if _tab_menu is not empty %}#}
  931. {#                        <div class=\"navbar-left\">#}
  932. {#                            {{ _tab_menu|raw }}#}
  933. {#                        </div>#}
  934. {#                    {% endif %}#}
  935. {#                    {% if admin is defined and action is defined and action == 'list' and admin.listModes|length > 1 %}#}
  936. {#                        <div class=\"nav navbar-right btn-group\">#}
  937. {#                            {% for mode, settings in admin.listModes %}#}
  938. {#                                <a href=\"{{ admin.generateUrl('list', app.request.query.all|merge({_list_mode: mode})) }}\" class=\"btn btn-default navbar-btn btn-sm{% if admin.getListMode() == mode %} active{% endif %}\"><i class=\"{{ settings.class }}\"></i></a>#}
  939. {#                            {% endfor %}#}
  940. {#                        </div>#}
  941. {#                    {% endif %}#}
  942.                     {% block sonata_admin_content_actions_wrappers %}
  943. {#                        {% if _actions|replace({ '<li>': '', '</li>': '' })|trim is not empty %}#}
  944. {#                            <ul class=\"nav navbar-nav navbar-right\">#}
  945. {#                                {% if _actions|split('</a>')|length > 2 %}#}
  946. {#                                    <li class=\"dropdown sonata-actions\">#}
  947. {#                                        <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">{{ 'link_actions'|trans({}, 'SonataAdminBundle') }} <b class=\"caret\"></b></a>#}
  948. {#                                        <ul class=\"dropdown-menu\" role=\"menu\">#}
  949. {#                                            {{ _actions|raw }}#}
  950. {#                                        </ul>#}
  951. {#                                    </li>#}
  952. {#                                {% else %}#}
  953. {#                                    {{ _actions|raw }}#}
  954. {#                                {% endif %}#}
  955. {#                            </ul>#}
  956. {#                        {% endif %}#}
  957.                         {% if action == 'list' %}
  958.                             <form {# action=\"{{ app.request.pathinfo }}\" method=\"GET\" #}>
  959.                         {% endif %}
  960.                         <ul class=\"nav navbar-nav navbar-left\">
  961.                             {% block navbar_actions_filters_prometeo_left %}
  962.                                 {% if action == 'list' %}
  963.                                     {% include 'navbar_actions_filters_prometeo_left_list.html.twig' %}
  964.                                 {% else %}
  965.                                     {% include 'navbar_actions_filters_prometeo_left_edit.html.twig' %}
  966.                                 {% endif %}
  967.                             {% endblock navbar_actions_filters_prometeo_left %}
  968.                         </ul>
  969.                         <ul class=\"nav navbar-nav navbar-right\">
  970.                             {% block navbar_actions_filters_prometeo_right %}
  971.                                 {% if action == 'list' %}
  972.                                     {% include 'navbar_actions_filters_prometeo_right_list.html.twig' %}
  973.                                 {% else %}
  974.                                     {% include 'navbar_actions_filters_prometeo_right_edit.html.twig' %}
  975.                                 {% endif %}
  976.                             {% endblock navbar_actions_filters_prometeo_right %}
  977.                         </ul>
  978.                         {% if action == 'list' %}
  979.                             </form>
  980.                         {% endif %}
  981.                     {% endblock sonata_admin_content_actions_wrappers %}
  982. {#                    {% if _list_filters_actions is not empty %}#}
  983. {#                        {{ _list_filters_actions|raw }}#}
  984. {#                    {% endif %}#}
  985.                 </div>
  986.             </div>
  987.         </nav>
  988.     {% endif %}
  989. {% endblock sonata_page_content_nav %}
  990. {% block sonata_wrapper %}
  991.     <div id=\"loading-spinner\" style=\"display:none; position:fixed; top:50%; left:50%; transform:translate(-50%, -50%); z-index:9999;\">
  992.         <div style=\"border:4px solid #f3f3f3; border-top:4px solid #3498db; border-radius:50%; width:50px; height:50px; animation:spin 1s linear infinite;\"></div>
  993.     </div>
  994.     {{ parent() }}
  995.     <script type=\"text/javascript\">
  996.         loadNavPrometeo(\$(\"body\"));
  997.         // Deshabilitar readmore completamente
  998.         if (window.Admin && window.Admin.setup_readmore_elements) {
  999.             window.Admin.setup_readmore_elements = function() {
  1000.                 // No hacer nada - readmore deshabilitado
  1001.             };
  1002.         }
  1003.         // Spinner de carga
  1004.         \$('#loading-spinner').css('display', 'flex');
  1005.         \$(window).on('load', function() {
  1006.             \$('#loading-spinner').fadeOut();
  1007.         });
  1008.         // Aplicar popover a elementos con clase sonata-readmore
  1009.         \$(document).ready(function() {
  1010.             \$('.sonata-readmore').each(function() {
  1011.                 var \$el = \$(this);
  1012.                 var fullText = \$el.text();
  1013.                 // Añadir popover con Bootstrap (el CSS ya está aplicado)
  1014.                 \$el.popover({
  1015.                     trigger: 'hover',
  1016.                     placement: 'top',
  1017.                     container: 'body',
  1018.                     html: true,
  1019.                     content: '<div style=\"max-width: 400px; max-height: 300px; overflow-y: auto; white-space: pre-wrap;\">' + fullText + '</div>'
  1020.                 });
  1021.             });
  1022.         });
  1023.         // \$parent = \$(\"body\");
  1024.         // if (\$parent.find(\".filter-to-navbar-left\").html() !== undefined) {
  1025.         //     if (\$parent.find(\"#action-create\").length === 1) {
  1026.         //         \$parent.find('#action-create').after('<li id=\"filter-search\">' + \$parent.find('.filter-to-navbar-left').html() + '</li>');
  1027.         //     } else {
  1028.         //         if(\$parent.find(\"nav.navbar form > ul.navbar-left\").length) {
  1029.         //             \$parent.find(\"nav.navbar form > ul.navbar-left\").prepend('<li id=\"filter-search\" class=\"filter-search-margin-left\">' + \$parent.find('.filter-to-navbar-left').html() + '</li>');
  1030.         //         }
  1031.         //         else
  1032.         //         {
  1033.         //             \$parent.find(\"#modal-navbar-prometeo form > ul.navbar-left\").prepend('<li id=\"filter-search\" class=\"filter-search-margin-left\">' + \$parent.find('.filter-to-navbar-left').html() + '</li>');
  1034.         //         }
  1035.         //     }
  1036.         // }
  1037.         //
  1038.         // \$parent.find('#filter-search > div.filter-field-busqueda').append('<span class=\"fa fa-search pull-right\"></span>');
  1039.         // \$parent.find('.filter-to-navbar-left').remove();
  1040.         //
  1041.         // \$parent.find('.filter-to-navbar-right').each(function (index, value) {
  1042.         //     // Destruimos lo Select2
  1043.         //     var \$select = \$(value).find('select');
  1044.         //     \$select.each(function (i, item) {
  1045.         //         \$(item).select2('destroy');
  1046.         //     });
  1047.         //
  1048.         //     \$parent.find('#action-export').before('<li id=\"' + \$(value).data('id') + '\" data-order=\"' + \$(value).data('order') + '\">' + \$(value).html() + '</li>');
  1049.         //     \$(value).remove();
  1050.         // });
  1051.         //
  1052.         // \$parent.find('#action-export').attr('data-order', 999998);
  1053.         // \$parent.find('#show-filters').attr('data-order', 999999).find('span').removeClass('fa-caret-down').addClass('fa-chevron-down');
  1054.         //
  1055.         // \$parent.find('nav ul.navbar-right').each(function () {
  1056.         //     \$(this).html(\$(this).children('li').sort(function (a, b) {
  1057.         //         return (\$(b).data('order')) < (\$(a).data('order')) ? 1 : -1;
  1058.         //     }));
  1059.         // });
  1060.         //
  1061.         // \$parent.find('.content-header__filters-container .prometeo-filters').each(function () {
  1062.         //     \$(this).html(\$(this).find('.filter').sort(function (a, b) {
  1063.         //         return (\$(b).data('order')) < (\$(a).data('order')) ? 1 : -1;
  1064.         //     }));
  1065.         // });
  1066.         //
  1067.         // // Creamos los Select2
  1068.         // \$select = \$parent.find(\"nav ul.navbar-right select\");
  1069.         // \$select.each(function (i, item) {
  1070.         //     \$(item).select2();
  1071.         // });
  1072.         //
  1073.         // var \$select = \$parent.find(\".content-header__filters-container .prometeo-filters select\");
  1074.         // \$select.each(function (i, item) {
  1075.         //     \$(item).select2(\"destroy\");
  1076.         // });
  1077.         //
  1078.         // \$select = \$parent.find(\".content-header__filters-container .prometeo-filters select\");
  1079.         // \$select.each(function (i, item) {
  1080.         //     \$(item).select2();
  1081.         // });
  1082.         //
  1083.         // if (\$parent.find(\".prometeo-filters .filter:not(.no-filter-visible)\").length === 1) {
  1084.         //     \$parent.find(\"#show-filters > a\").attr(\"title\", \"No hay Filtros\");
  1085.         //     \$parent.find(\"#show-filters\").addClass(\"opacity5\");
  1086.         //     \$parent.find(\".content-header__filters-container\").addClass(\"hide\");
  1087.         // }
  1088.         //
  1089.         // if (\$parent.find('.prometeo-filters .filter:not(.no-filter-visible)').length > 1) {
  1090.         //     \$parent.find('#show-filters').on('click', function () {
  1091.         //         if (\$parent.find('.prometeo-filters .filter').length > 0) {
  1092.         //             if (\$(this).hasClass('open')) {
  1093.         //                 \$(this).removeClass('open');
  1094.         //                 \$parent.find('.sonata-filters-box').hide();
  1095.         //                 \$parent.find('.sonata-filters-box .prometeo-filters div').hide();
  1096.         //             } else {
  1097.         //                 \$(this).addClass('open');
  1098.         //                 \$parent.find('.sonata-filters-box').show();
  1099.         //                 \$parent.find('.sonata-filters-box .prometeo-filters div').show();
  1100.         //             }
  1101.         //         }
  1102.         //     });
  1103.         // }
  1104.         //
  1105.         // \$(\".sonata-filters-box\").hide();
  1106.         // \$parent.find(\".prometeo-filters .filter:not(.button-filter-submit)\").each(function(index, value)
  1107.         // {
  1108.         //     if(\$(value).css(\"display\") !== \"none\")
  1109.         //     {
  1110.         //         \$(\".sonata-filters-box\").show();
  1111.         //         return false;
  1112.         //     }
  1113.         // });
  1114.     </script>
  1115. {% endblock sonata_wrapper %}
  1116. {% block side_bar_after_nav_content %}
  1117.     <a href=\"{{ path('app_logout') }}\"><img id=\"icon-menu-user\" class=\"icon-menu\" title=\"Logout\">{{ app.user.username }}</a>
  1118. {% endblock %}
  1119. ""@SonataTranslation/standard_layout.html.twig""/var/www/vhosts/perseo.comerziawatches.com/httpdocs/perseo/httpdocs/templates/bundles/SonataTranslationBundle/standard_layout.html.twig");
  1120.     }
  1121. }