<?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;
/* menu/navbar.html.twig */
class __TwigTemplate_ea46a817e93617823a8b00ef7d0ed1bb 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;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "menu/navbar.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "menu/navbar.html.twig"));
// line 1
yield "<nav class=\"main-header navbar navbar-expand navbar-white navbar-light\">
\t<ul class=\"navbar-nav\">
\t\t<li class=\"nav-item\">
\t\t\t<a class=\"nav-link\" data-widget=\"pushmenu\" href=\"#\" role=\"button\">
\t\t\t\t<i class=\"fas fa-bars\"></i>
\t\t\t</a>
\t\t</li>
\t\t<li class=\"nav-item d-none d-sm-inline-block\">
\t\t\t<a href=\"#\" class=\"nav-link\">Home</a>
\t\t</li>
\t</ul>
\t<ul class=\"navbar-nav ml-auto\">
\t\t<li class=\"nav-item\">
\t\t\t<a class=\"nav-link\" data-widget=\"fullscreen\" href=\"#\" role=\"button\">
\t\t\t\t<i class=\"fas fa-expand-arrows-alt\"></i>
\t\t\t</a>
\t\t</li>
\t\t<li class=\"nav-item dropdown\">
\t\t\t<a class=\"nav-link\" data-toggle=\"dropdown\" href=\"#\">
\t\t\t\t<i class=\"far fa-user\"></i>
\t\t\t</a>
\t\t\t<div class=\"dropdown-menu dropdown-menu-lg dropdown-menu-right\">
\t\t\t\t<span class=\"dropdown-header\">";
// line 24
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 24, $this->source); })()), "user", [], "any", false, false, false, 24), "fullName", [], "any", false, false, false, 24), "html", null, true);
yield "</span>
\t\t\t\t<div class=\"dropdown-divider\"></div>
\t\t\t\t<a href=\"#\" class=\"dropdown-item\">
\t\t\t\t\t<span class=\" text-sm\">User Profile</span>
\t\t\t\t</a>
\t\t\t\t<div class=\"dropdown-divider\"></div>
\t\t\t\t<a href=\"";
// line 30
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
yield "\" class=\"dropdown-item\">
\t\t\t\t\t<span class=\"text-sm\">Logout</span>
\t\t\t\t</a>
\t\t\t</div>
\t\t</li>
\t</ul>
</nav>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "menu/navbar.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 78 => 30, 69 => 24, 44 => 1,);
}
public function getSourceContext()
{
return new Source("<nav class=\"main-header navbar navbar-expand navbar-white navbar-light\">
\t<ul class=\"navbar-nav\">
\t\t<li class=\"nav-item\">
\t\t\t<a class=\"nav-link\" data-widget=\"pushmenu\" href=\"#\" role=\"button\">
\t\t\t\t<i class=\"fas fa-bars\"></i>
\t\t\t</a>
\t\t</li>
\t\t<li class=\"nav-item d-none d-sm-inline-block\">
\t\t\t<a href=\"#\" class=\"nav-link\">Home</a>
\t\t</li>
\t</ul>
\t<ul class=\"navbar-nav ml-auto\">
\t\t<li class=\"nav-item\">
\t\t\t<a class=\"nav-link\" data-widget=\"fullscreen\" href=\"#\" role=\"button\">
\t\t\t\t<i class=\"fas fa-expand-arrows-alt\"></i>
\t\t\t</a>
\t\t</li>
\t\t<li class=\"nav-item dropdown\">
\t\t\t<a class=\"nav-link\" data-toggle=\"dropdown\" href=\"#\">
\t\t\t\t<i class=\"far fa-user\"></i>
\t\t\t</a>
\t\t\t<div class=\"dropdown-menu dropdown-menu-lg dropdown-menu-right\">
\t\t\t\t<span class=\"dropdown-header\">{{ app.user.fullName }}</span>
\t\t\t\t<div class=\"dropdown-divider\"></div>
\t\t\t\t<a href=\"#\" class=\"dropdown-item\">
\t\t\t\t\t<span class=\" text-sm\">User Profile</span>
\t\t\t\t</a>
\t\t\t\t<div class=\"dropdown-divider\"></div>
\t\t\t\t<a href=\"{{ path('app_logout')}}\" class=\"dropdown-item\">
\t\t\t\t\t<span class=\"text-sm\">Logout</span>
\t\t\t\t</a>
\t\t\t</div>
\t\t</li>
\t</ul>
</nav>
", "menu/navbar.html.twig", "/var/www/project.digitalethiopia.gov.et/templates/menu/navbar.html.twig");
}
}