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

/* AkeneoBatchBundle:Mails:notification.html.twig */
class __TwigTemplate_84e82babba5f9015d346e05303084c963ad4f67981670b52fe81595c5bed41c5 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
        echo "<p>
    Akeneo successfully completed your batch ";
        // line 2
        echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["jobExecution"] ?? null), "jobInstance", []), "type", []), "html", null, true);
        echo ".<br/>
    <br/>
    Started on ";
        // line 4
        echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(($context["jobExecution"] ?? null), "startTime", []), "Y-m-d"), "html", null, true);
        echo " at ";
        echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(($context["jobExecution"] ?? null), "startTime", []), "H:i:s"), "html", null, true);
        echo ".<br/>
    Ended on ";
        // line 5
        echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(($context["jobExecution"] ?? null), "endTime", []), "Y-m-d"), "html", null, true);
        echo " at ";
        echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(($context["jobExecution"] ?? null), "endTime", []), "H:i:s"), "html", null, true);
        echo ".<br/>
</p>

<p>
    Results:<br/>
    <ul>
        ";
        // line 11
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["jobExecution"] ?? null), "stepExecutions", []));
        foreach ($context['_seq'] as $context["_key"] => $context["stepExecution"]) {
            // line 12
            echo "            <li>
                ";
            // line 13
            echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans($this->getAttribute($context["stepExecution"], "stepName", [])), "html", null, true);
            echo " [";
            echo twig_escape_filter($this->env, $this->getAttribute($context["stepExecution"], "status", []), "html", null, true);
            echo "]
                ";
            // line 14
            (((0 < twig_length_filter($this->env, $this->getAttribute($context["stepExecution"], "warnings", [])))) ? (print (twig_escape_filter($this->env, (("With " . twig_length_filter($this->env, $this->getAttribute($context["stepExecution"], "warnings", []))) . " warning(s)"), "html", null, true))) : (print ("")));
            echo "
            </li>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stepExecution'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 17
        echo "    </ul>
</p>

<p>
";
        // line 21
        if ( !twig_test_empty(($context["akeneo_pim_url"] ?? null))) {
            // line 22
            echo "    You can view full summary page in the
    <a href=\"";
            // line 23
            echo twig_escape_filter($this->env, ($context["akeneo_pim_url"] ?? null), "html", null, true);
            echo "/#";
            echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("pim_enrich_job_tracker_show", ["id" => $this->getAttribute(($context["jobExecution"] ?? null), "id", [])]), "html", null, true);
            echo "\">Process Tracker</a>.
";
        } else {
            // line 25
            echo "    You should set the AKENEO_PIM_URL environment variable to have a link to the Process Tracker
";
        }
        // line 27
        echo "</p>

<p>
    -- <br/>
    Akeneo Batch<br/>
</p>
";
    }

    public function getTemplateName()
    {
        return "AkeneoBatchBundle:Mails:notification.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  99 => 27,  95 => 25,  88 => 23,  85 => 22,  83 => 21,  77 => 17,  68 => 14,  62 => 13,  59 => 12,  55 => 11,  44 => 5,  38 => 4,  33 => 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("", "AkeneoBatchBundle:Mails:notification.html.twig", "/var/www/html/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/BatchBundle/Resources/views/Mails/notification.html.twig");
    }
}
