Current File : //var/www/prestashop/var/cache/prod/twig/1b/1b1938853fe3389880471bf895548d25.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/Row/delete_customer.html.twig */
class __TwigTemplate_9f046a37c03325593ebef32ca1ff9b22 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 "
";
// line 26
$context["class"] = "btn tooltip-link js-delete-customer-row-action";
// line 27
echo "
";
// line 28
if (twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "class", [], "any", true, true, false, 28)) {
// line 29
echo " ";
$context["class"] = ((($context["class"] ?? null) . " ") . twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "class", [], "any", false, false, false, 29));
}
// line 31
echo "
<a class=\"";
// line 32
echo twig_escape_filter($this->env, ($context["class"] ?? null), "html", null, true);
echo " grid-";
echo twig_escape_filter($this->env, twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "name", [], "any", false, false, false, 32)), "html", null, true);
echo "-row-link\"
href=\"#\"
data-customer-id=\"";
// line 34
echo twig_escape_filter($this->env, (($__internal_compile_0 = ($context["record"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "options", [], "any", false, false, false, 34), "customer_id_field", [], "any", false, false, false, 34)] ?? null) : null), "html", null, true);
echo "\"
data-customer-delete-url=\"";
// line 35
echo $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, 35), "customer_delete_route", [], "any", false, false, false, 35));
echo "\"
";
// line 36
if (twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "tooltip_name", [], "any", false, false, false, 36)) {
// line 37
echo " data-toggle=\"pstooltip\"
data-placement=\"top\"
data-original-title=\"";
// line 39
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "name", [], "any", false, false, false, 39), "html", null, true);
echo "\"
";
}
// line 41
echo ">
";
// line 42
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "icon", [], "any", false, false, false, 42))) {
// line 43
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, 43), "html", null, true);
echo "</i>
";
}
// line 45
echo " ";
if ( !twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "tooltip_name", [], "any", false, false, false, 45)) {
// line 46
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["action"] ?? null), "name", [], "any", false, false, false, 46), "html", null, true);
echo "
";
}
// line 48
echo "</a>
";
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Common/Grid/Actions/Row/delete_customer.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 100 => 48, 94 => 46, 91 => 45, 85 => 43, 83 => 42, 80 => 41, 75 => 39, 71 => 37, 69 => 36, 65 => 35, 61 => 34, 54 => 32, 51 => 31, 47 => 29, 45 => 28, 42 => 27, 40 => 26, 37 => 25,);
}
public function getSourceContext()
{
return new Source("", "@PrestaShop/Admin/Common/Grid/Actions/Row/delete_customer.html.twig", "/var/www/prestashop/src/PrestaShopBundle/Resources/views/Admin/Common/Grid/Actions/Row/delete_customer.html.twig");
}
}