<?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/notifications.html.twig */
class __TwigTemplate_d923771b80df91aef531c78fc150e1a5 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-bell\"></i>
        <span class=\"badge badge-warning 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% Notifications", ["%count%" => ($context["total"] ?? null)], "AdminLTEBundle"), "html", null, true);
        yield "</span>
        <div class=\"dropdown-divider\"></div>
        ";
        // line 10
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(($context["notifications"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["notice"]) {
            // line 11
            yield "        <a href=\"";
            yield "\" class=\"dropdown-item\">
            <i class=\"fas ";
            // line 12
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["notice"], "icon", [], "any", false, false, false, 12), "html", null, true);
            yield " ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('KevinPapst\AdminLTEBundle\Twig\RuntimeExtension')->getTextType(CoreExtension::getAttribute($this->env, $this->source, $context["notice"], "type", [], "any", false, false, false, 12)), "html", null, true);
            yield " mr-2\"></i> ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["notice"], "message", [], "any", false, false, false, 12), "html", null, true);
            yield "
            <span class=\"float-right text-muted text-sm\">3 mins</span>
        </a>
        <div class=\"dropdown-divider\"></div>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['notice'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 17
        yield "        <a href=\"";
        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/notifications.html.twig";
    }

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  82 => 17,  67 => 12,  63 => 11,  59 => 10,  54 => 8,  48 => 5,  42 => 1,);
    }

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