Current File : //var/www/prestashop/var/cache/prod/twig/86/867a30c1baa28e47fcbf8bf1c0a72612.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/Columns/Content/disableable_link.html.twig */
class __TwigTemplate_81e47c09db925325c3dc348b282bf74a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'link' => [$this, 'block_link'],
];
}
protected function doGetParent(array $context)
{
// line 26
return "@PrestaShop/Admin/Common/Grid/Columns/Content/link.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$this->parent = $this->loadTemplate("@PrestaShop/Admin/Common/Grid/Columns/Content/link.html.twig", "@PrestaShop/Admin/Common/Grid/Columns/Content/disableable_link.html.twig", 26);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 29
public function block_link($context, array $blocks = [])
{
$macros = $this->macros;
// line 30
echo " ";
if ((($__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["column"] ?? null), "options", [], "any", false, false, false, 30), "disabled_field", [], "any", false, false, false, 30)] ?? null) : null)) {
// line 31
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Deleted customer", [], "Admin.Global"), "html", null, true);
echo "
";
} else {
// line 33
echo " ";
$this->displayParentBlock("link", $context, $blocks);
echo "
";
}
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Common/Grid/Columns/Content/disableable_link.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 59 => 33, 53 => 31, 50 => 30, 46 => 29, 35 => 26,);
}
public function getSourceContext()
{
return new Source("", "@PrestaShop/Admin/Common/Grid/Columns/Content/disableable_link.html.twig", "/var/www/prestashop/src/PrestaShopBundle/Resources/views/Admin/Common/Grid/Columns/Content/disableable_link.html.twig");
}
}