Current File : //var/www/prestashop/var/cache/prod/twig/df/df89c563900e5af26a3403c3f1336f4f.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/button.html.twig */
class __TwigTemplate_7bc37dcb1803d81d81e45ff4823e27b9 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-btn ";
// line 27
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, 27), "class", [], "any", false, false, false, 27), "html", null, true);
echo "\"
type=\"button\"
";
// line 29
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "options", [], "any", false, false, false, 29), "attributes", [], "any", false, false, false, 29));
foreach ($context['_seq'] as $context["attribute"] => $context["value"]) {
// line 30
echo " ";
echo twig_escape_filter($this->env, $context["attribute"], "html", null, true);
echo "=\"";
echo twig_escape_filter($this->env, $context["value"], "html", null, true);
echo "\"
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['attribute'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 32
echo ">
";
// line 33
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "icon", [], "any", false, false, false, 33))) {
// line 34
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, 34), "html", null, true);
echo "</i>
";
}
// line 36
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "name", [], "any", false, false, false, 36), "html", null, true);
echo "
</button>
";
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Common/Grid/Actions/Bulk/button.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 75 => 36, 69 => 34, 67 => 33, 64 => 32, 53 => 30, 49 => 29, 44 => 27, 40 => 26, 37 => 25,);
}
public function getSourceContext()
{
return new Source("", "@PrestaShop/Admin/Common/Grid/Actions/Bulk/button.html.twig", "/var/www/prestashop/src/PrestaShopBundle/Resources/views/Admin/Common/Grid/Actions/Bulk/button.html.twig");
}
}