<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;

/* PimImportExportBundle:Property:status.html.twig */
class __TwigTemplate_730f98d2f9a653e752c932018aa82583659c4b351b2e3badea1ba1a0260d7f17 extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
        $context["status"] = "success";
        // line 2
        $context["status"] = ((( !(null === $this->getAttribute(($context["record"] ?? null), "getValue", [0 => "warningCount"], "method")) && ($this->getAttribute(($context["record"] ?? null), "getValue", [0 => "warningCount"], "method") != 0))) ? ("warning") : (($context["status"] ?? null)));
        // line 3
        $context["status"] = ((("FAILED" == $this->getAttribute($this->getAttribute(($context["record"] ?? null), "getValue", [0 => "exitStatus"], "method"), "exitCode", []))) ? ("important") : (($context["status"] ?? null)));
        // line 4
        echo "
<span class=\"AknBadge AknBadge--";
        // line 5
        echo twig_escape_filter($this->env, ($context["status"] ?? null), "html", null, true);
        echo "\">";
        echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans(($context["value"] ?? null)), "html", null, true);
        echo "</span>
";
    }

    public function getTemplateName()
    {
        return "PimImportExportBundle:Property:status.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  39 => 5,  36 => 4,  34 => 3,  32 => 2,  30 => 1,);
    }

    /** @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("", "PimImportExportBundle:Property:status.html.twig", "/var/www/html/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/ImportExportBundle/Resources/views/Property/status.html.twig");
    }
}
