<?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;

/* @bundles/LeadBundle/Views/Lead/row/stage.html.php */
class __TwigTemplate_d412ba44f5b959f9da22a29b801e90e8 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 1
        echo "<?php

/*
 * @copyright   2019 Mautic Contributors. All rights reserved
 * @author      Mautic
 *
 * @link        http://mautic.org
 *
 * @license     GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */

?>
<td class=\"<?php echo \$class; ?> text-center\">
    <?php
    \$color = \$item->getColor();
    \$style = !empty(\$color) ? ' style=\"background-color: '.\$color.';\"' : '';
    ?>
    <?php if (\$item->getStage()):?>
        <span class=\"label label-default\"<?php echo \$style; ?>><?php echo \$view->escape(\$item->getStage()->getName()); ?></span>
    <?php endif; ?>
</td>";
    }

    public function getTemplateName()
    {
        return "@bundles/LeadBundle/Views/Lead/row/stage.html.php";
    }

    public function getDebugInfo()
    {
        return array (  37 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "@bundles/LeadBundle/Views/Lead/row/stage.html.php", "/var/www/mautic/app/bundles/LeadBundle/Views/Lead/row/stage.html.php");
    }
}
