Current File : //var/www/prestashop/var/cache/prod/twig/d9/d93f56bbd8eaeb21c737569380f3aeca.php |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @PrestaShop/Admin/Common/Grid/Actions/Bulk/submit.html.twig */
class __TwigTemplate_6a8b85ccbbb541229ab6cb5b4d4ceaaf extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 25
echo "
<button id=\"";
// line 26
echo twig_escape_filter($this->env, twig_sprintf("%s_grid_bulk_action_%s", twig_get_attribute($this->env, $this->source, ($context["grid"] ?? null), "id", [], "any", false, false, false, 26), twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "id", [], "any", false, false, false, 26)), "html", null, true);
echo "\"
class=\"dropdown-item js-bulk-action-submit-btn\"
type=\"button\"
data-form-url=\"";
// line 29
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "options", [], "any", false, false, false, 29), "submit_route", [], "any", false, false, false, 29), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "options", [], "any", false, false, false, 29), "route_params", [], "any", false, false, false, 29)), "html", null, true);
echo "\"
data-form-method=\"";
// line 30
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "options", [], "any", false, false, false, 30), "submit_method", [], "any", false, false, false, 30), "html", null, true);
echo "\"
data-confirm-message=\"";
// line 31
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "options", [], "any", false, false, false, 31), "confirm_message", [], "any", false, false, false, 31), "html", null, true);
echo "\"
";
// line 32
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "options", [], "any", false, false, false, 32), "modal_options", [], "any", false, false, false, 32)) {
// line 33
echo " data-close-button-label=\"";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "options", [], "any", false, true, false, 33), "modal_options", [], "any", false, true, false, 33), "options", [], "any", false, true, false, 33), "close_button_label", [], "any", true, true, false, 33)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "options", [], "any", false, true, false, 33), "modal_options", [], "any", false, true, false, 33), "options", [], "any", false, true, false, 33), "close_button_label", [], "any", false, false, false, 33), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Close", [], "Admin.Actions"))) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Close", [], "Admin.Actions"))), "html", null, true);
echo "\"
data-confirm-title=\"";
// line 34
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "options", [], "any", false, false, false, 34), "modal_options", [], "any", false, false, false, 34), "options", [], "any", false, false, false, 34), "title", [], "any", false, false, false, 34), "html", null, true);
echo "\"
data-confirm-button-class=\"";
// line 35
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "options", [], "any", false, true, false, 35), "modal_options", [], "any", false, true, false, 35), "options", [], "any", false, true, false, 35), "confirm_button_class", [], "any", true, true, false, 35)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "options", [], "any", false, true, false, 35), "modal_options", [], "any", false, true, false, 35), "options", [], "any", false, true, false, 35), "confirm_button_class", [], "any", false, false, false, 35), "btn-primary")) : ("btn-primary")), "html", null, true);
echo "\"
data-confirm-button-label=\"";
// line 36
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "options", [], "any", false, true, false, 36), "modal_options", [], "any", false, true, false, 36), "options", [], "any", false, true, false, 36), "confirm_button_label", [], "any", true, true, false, 36)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "options", [], "any", false, true, false, 36), "modal_options", [], "any", false, true, false, 36), "options", [], "any", false, true, false, 36), "confirm_button_label", [], "any", false, false, false, 36), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm", [], "Admin.Actions"))) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm", [], "Admin.Actions"))), "html", null, true);
echo "\"
";
}
// line 38
echo ">
";
// line 39
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "icon", [], "any", false, false, false, 39))) {
// line 40
echo " <i class=\"material-icons\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "icon", [], "any", false, false, false, 40), "html", null, true);
echo "</i>
";
}
// line 42
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "name", [], "any", false, false, false, 42), "html", null, true);
echo "
</button>
";
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Common/Grid/Actions/Bulk/submit.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 89 => 42, 83 => 40, 81 => 39, 78 => 38, 73 => 36, 69 => 35, 65 => 34, 60 => 33, 58 => 32, 54 => 31, 50 => 30, 46 => 29, 40 => 26, 37 => 25,);
}
public function getSourceContext()
{
return new Source("", "@PrestaShop/Admin/Common/Grid/Actions/Bulk/submit.html.twig", "/var/www/prestashop/src/PrestaShopBundle/Resources/views/Admin/Common/Grid/Actions/Bulk/submit.html.twig");
}
}