<?php

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

/* @AdminLTE/Navbar/tasks.html.twig */
class __TwigTemplate_1cb8cd1576ed38961d5a0e0a2e785915 extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $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 = []): iterable
    {
        $macros = $this->macros;
        // line 1
        yield "<!-- Notifications Dropdown Menu -->
<li class=\"nav-item dropdown\">
    <a class=\"nav-link\" data-toggle=\"dropdown\" href=\"#\">
        <i class=\"far fa-flag\"></i>
        <span class=\"badge badge-danger navbar-badge\">";
        // line 5
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["total"] ?? null), "html", null, true);
        yield "</span>
    </a>
    <div class=\"dropdown-menu dropdown-menu-lg dropdown-menu-right\">
        <span class=\"dropdown-item dropdown-header\">";
        // line 8
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%count% Tasks", ["%count%" => ($context["total"] ?? null)], "AdminLTEBundle"), "html", null, true);
        yield "</span>
        <div class=\"dropdown-divider\"></div>

        ";
        // line 11
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(($context["tasks"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["task"]) {
            // line 12
            yield "        <a href=\"";
            yield "\" class=\"dropdown-item\">
            ";
            // line 13
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["task"], "title", [], "any", false, false, false, 13), "html", null, true);
            yield "
            <span class=\"float-right text-muted text-sm\">";
            // line 14
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["task"], "progress", [], "any", false, false, false, 14), "html", null, true);
            yield "%</small>
 
            <span class=\"progress xs\">
                <span class=\"progress-bar progress-bar-";
            // line 17
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["task"], "color", [], "any", false, false, false, 17), "html", null, true);
            yield "\"
                        style=\"width: ";
            // line 18
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["task"], "progress", [], "any", false, false, false, 18), "html", null, true);
            yield "%\"
                        role=\"progressbar\"
                        aria-valuenow=\"";
            // line 20
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["task"], "progress", [], "any", false, false, false, 20), "html", null, true);
            yield "\"
                        aria-valuemin=\"0\"
                        aria-valuemax=\"100\">
                    <span class=\"sr-only\">";
            // line 23
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%progress%% Complete", ["%progress%" => CoreExtension::getAttribute($this->env, $this->source, $context["task"], "progress", [], "any", false, false, false, 23)], "AdminLTEBundle"), "html", null, true);
            yield "</span>
                </span>
            </span>
        </a>
        <div class=\"dropdown-divider\"></div>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['task'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 29
        yield "
        <a href=\"";
        // line 30
        yield "\" class=\"dropdown-item dropdown-footer\">";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("View all", [], "AdminLTEBundle"), "html", null, true);
        yield "</a>
    </div>
</li>
";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "@AdminLTE/Navbar/tasks.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  108 => 30,  105 => 29,  93 => 23,  87 => 20,  82 => 18,  78 => 17,  72 => 14,  68 => 13,  64 => 12,  60 => 11,  54 => 8,  48 => 5,  42 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "@AdminLTE/Navbar/tasks.html.twig", "/var/www/html/templates/bundles/AdminLTEBundle/Navbar/tasks.html.twig");
    }
}
