parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { // line 25 if ((twig_length_filter($this->env, $this->getAttribute($this->getAttribute(($context["grid"] ?? null), "actions", []), "grid", [])) > 0)) { // line 26 echo " "; $context["gridActionsButtonId"] = ($this->getAttribute(($context["grid"] ?? null), "id", []) . "-grid-actions-button"); // line 27 echo " "; $context["gridActionsDropdownMenuId"] = ($this->getAttribute(($context["grid"] ?? null), "id", []) . "-grid-actions-dropdown-menu"); // line 28 echo "
env, ($context["gridActionsButtonId"] ?? null), "html", null, true); echo "\" id=\""; // line 42 echo twig_escape_filter($this->env, ($context["gridActionsDropdownMenuId"] ?? null), "html", null, true); echo "\" > "; // line 44 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute(($context["grid"] ?? null), "actions", []), "grid", [])); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["action"]) { // line 45 echo " "; echo twig_include($this->env, $context, (("@PrestaShop/Admin/Common/Grid/Actions/Grid/" . $this->getAttribute($context["action"], "type", [])) . ".html.twig"), ["action" => $context["action"], "grid" => ($context["grid"] ?? null)]); echo " "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['action'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 47 echo "
"; // line 49 $this->loadTemplate("@PrestaShop/Admin/Common/Grid/Blocks/grid_actions.html.twig", "@PrestaShop/Admin/Common/Grid/Blocks/grid_actions.html.twig", 49, "1769783757")->display(twig_array_merge($context, ["id" => ($this->getAttribute( // line 50 ($context["grid"] ?? null), "id", []) . "_grid_common_show_query_modal"), "title" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("SQL query", [], "Admin.Global"), "closable" => true, "actions" => [0 => ["type" => "button", "label" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Export to SQL Manager", [], "Admin.Actions"), "value" => "sql_manager", "class" => "btn btn-primary btn-lg btn-sql-submit"]]])); // line 74 echo "
"; } } public function getTemplateName() { return "@PrestaShop/Admin/Common/Grid/Blocks/grid_actions.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 112 => 74, 110 => 50, 109 => 49, 105 => 47, 88 => 45, 71 => 44, 66 => 42, 62 => 41, 55 => 37, 50 => 35, 43 => 31, 38 => 28, 35 => 27, 32 => 26, 30 => 25,); } /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */ public function getSource() { @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED); return $this->getSourceContext()->getCode(); } public function getSourceContext() { return new Source("", "@PrestaShop/Admin/Common/Grid/Blocks/grid_actions.html.twig", "/home/admin/domains/masimmo.pl/public_html/src/PrestaShopBundle/Resources/views/Admin/Common/Grid/Blocks/grid_actions.html.twig"); } } /* @PrestaShop/Admin/Common/Grid/Blocks/grid_actions.html.twig */ class __TwigTemplate_7f5e4c8edd01e4a263fef95ad223078dc8123060c283f87b2b4e8093cbcd16c0___1769783757 extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->blocks = [ 'content' => [$this, 'block_content'], ]; } protected function doGetParent(array $context) { // line 49 return "@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig"; } protected function doDisplay(array $context, array $blocks = []) { $this->parent = $this->loadTemplate("@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig", "@PrestaShop/Admin/Common/Grid/Blocks/grid_actions.html.twig", 49); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 60 public function block_content($context, array $blocks = []) { // line 61 echo "
env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_sql_requests_create"); echo "\" id=\""; // line 64 echo twig_escape_filter($this->env, ($this->getAttribute(($context["grid"] ?? null), "id", []) . "_common_show_query_modal_form"), "html", null, true); echo "\" >
"; } public function getTemplateName() { return "@PrestaShop/Admin/Common/Grid/Blocks/grid_actions.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 183 => 64, 179 => 63, 175 => 61, 172 => 60, 162 => 49, 112 => 74, 110 => 50, 109 => 49, 105 => 47, 88 => 45, 71 => 44, 66 => 42, 62 => 41, 55 => 37, 50 => 35, 43 => 31, 38 => 28, 35 => 27, 32 => 26, 30 => 25,); } /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */ public function getSource() { @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED); return $this->getSourceContext()->getCode(); } public function getSourceContext() { return new Source("", "@PrestaShop/Admin/Common/Grid/Blocks/grid_actions.html.twig", "/home/admin/domains/masimmo.pl/public_html/src/PrestaShopBundle/Resources/views/Admin/Common/Grid/Blocks/grid_actions.html.twig"); } }