<?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:warning.html.twig */
class __TwigTemplate_e03e5eaaedfde12dcb74a46428db5c2c9bfe281ca9fa607e4f9ac71eaeb614bc 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 === ($context["value"] ?? null)) && (($context["value"] ?? null) != 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
        $context["counter"] = ((("FAILED" == $this->getAttribute($this->getAttribute(($context["record"] ?? null), "getValue", [0 => "exitStatus"], "method"), "exitCode", []))) ? (1) : (($context["value"] ?? null)));
        // line 5
        echo "
<span class=\"AknBadge AknBadge--";
        // line 6
        echo twig_escape_filter($this->env, ($context["status"] ?? null), "html", null, true);
        echo "\">";
        echo twig_escape_filter($this->env, ($context["counter"] ?? null), "html", null, true);
        echo "</span>
";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  41 => 6,  38 => 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:warning.html.twig", "/var/www/html/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/ImportExportBundle/Resources/views/Property/warning.html.twig");
    }
}
