var/cache/dev/twig/f0/f0f80a915b658f6b834346ff80cfaf66.php line 34

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* menu/navbar.html.twig */
  15. class __TwigTemplate_ea46a817e93617823a8b00ef7d0ed1bb extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->parent false;
  24.         $this->blocks = [
  25.         ];
  26.     }
  27.     protected function doDisplay(array $context, array $blocks = [])
  28.     {
  29.         $macros $this->macros;
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""menu/navbar.html.twig"));
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""menu/navbar.html.twig"));
  34.         // line 1
  35.         yield "<nav class=\"main-header navbar navbar-expand navbar-white navbar-light\">
  36. \t<ul class=\"navbar-nav\">
  37. \t\t<li class=\"nav-item\">
  38. \t\t\t<a class=\"nav-link\" data-widget=\"pushmenu\" href=\"#\" role=\"button\">
  39. \t\t\t\t<i class=\"fas fa-bars\"></i>
  40. \t\t\t</a>
  41. \t\t</li>
  42. \t\t<li class=\"nav-item d-none d-sm-inline-block\">
  43. \t\t\t<a href=\"#\" class=\"nav-link\">Home</a>
  44. \t\t</li>
  45. \t</ul>
  46. \t<ul class=\"navbar-nav ml-auto\">
  47. \t\t<li class=\"nav-item\">
  48. \t\t\t<a class=\"nav-link\" data-widget=\"fullscreen\" href=\"#\" role=\"button\">
  49. \t\t\t\t<i class=\"fas fa-expand-arrows-alt\"></i>
  50. \t\t\t</a>
  51. \t\t</li>
  52. \t\t<li class=\"nav-item dropdown\">
  53. \t\t\t<a class=\"nav-link\" data-toggle=\"dropdown\" href=\"#\">
  54. \t\t\t\t<i class=\"far fa-user\"></i>
  55. \t\t\t</a>
  56. \t\t\t<div class=\"dropdown-menu dropdown-menu-lg dropdown-menu-right\">
  57. \t\t\t\t<span class=\"dropdown-header\">";
  58.         // line 24
  59.         yield Twig\Extension\EscaperExtension::escape($this->envCoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse24), "fullName", [], "any"falsefalsefalse24), "html"nulltrue);
  60.         yield "</span>
  61. \t\t\t\t<div class=\"dropdown-divider\"></div>
  62. \t\t\t\t<a href=\"#\" class=\"dropdown-item\">
  63. \t\t\t\t\t<span class=\" text-sm\">User Profile</span>
  64. \t\t\t\t</a>
  65. \t\t\t\t<div class=\"dropdown-divider\"></div>
  66. \t\t\t\t<a href=\"";
  67.         // line 30
  68.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
  69.         yield "\" class=\"dropdown-item\">
  70. \t\t\t\t\t<span class=\"text-sm\">Logout</span>
  71. \t\t\t\t</a>
  72. \t\t\t</div>
  73. \t\t</li>
  74. \t</ul>
  75. </nav>
  76. ";
  77.         
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  79.         
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  81.         return; yield '';
  82.     }
  83.     /**
  84.      * @codeCoverageIgnore
  85.      */
  86.     public function getTemplateName()
  87.     {
  88.         return "menu/navbar.html.twig";
  89.     }
  90.     /**
  91.      * @codeCoverageIgnore
  92.      */
  93.     public function isTraitable()
  94.     {
  95.         return false;
  96.     }
  97.     /**
  98.      * @codeCoverageIgnore
  99.      */
  100.     public function getDebugInfo()
  101.     {
  102.         return array (  78 => 30,  69 => 24,  44 => 1,);
  103.     }
  104.     public function getSourceContext()
  105.     {
  106.         return new Source("<nav class=\"main-header navbar navbar-expand navbar-white navbar-light\">
  107. \t<ul class=\"navbar-nav\">
  108. \t\t<li class=\"nav-item\">
  109. \t\t\t<a class=\"nav-link\" data-widget=\"pushmenu\" href=\"#\" role=\"button\">
  110. \t\t\t\t<i class=\"fas fa-bars\"></i>
  111. \t\t\t</a>
  112. \t\t</li>
  113. \t\t<li class=\"nav-item d-none d-sm-inline-block\">
  114. \t\t\t<a href=\"#\" class=\"nav-link\">Home</a>
  115. \t\t</li>
  116. \t</ul>
  117. \t<ul class=\"navbar-nav ml-auto\">
  118. \t\t<li class=\"nav-item\">
  119. \t\t\t<a class=\"nav-link\" data-widget=\"fullscreen\" href=\"#\" role=\"button\">
  120. \t\t\t\t<i class=\"fas fa-expand-arrows-alt\"></i>
  121. \t\t\t</a>
  122. \t\t</li>
  123. \t\t<li class=\"nav-item dropdown\">
  124. \t\t\t<a class=\"nav-link\" data-toggle=\"dropdown\" href=\"#\">
  125. \t\t\t\t<i class=\"far fa-user\"></i>
  126. \t\t\t</a>
  127. \t\t\t<div class=\"dropdown-menu dropdown-menu-lg dropdown-menu-right\">
  128. \t\t\t\t<span class=\"dropdown-header\">{{ app.user.fullName }}</span>
  129. \t\t\t\t<div class=\"dropdown-divider\"></div>
  130. \t\t\t\t<a href=\"#\" class=\"dropdown-item\">
  131. \t\t\t\t\t<span class=\" text-sm\">User Profile</span>
  132. \t\t\t\t</a>
  133. \t\t\t\t<div class=\"dropdown-divider\"></div>
  134. \t\t\t\t<a href=\"{{ path('app_logout')}}\" class=\"dropdown-item\">
  135. \t\t\t\t\t<span class=\"text-sm\">Logout</span>
  136. \t\t\t\t</a>
  137. \t\t\t</div>
  138. \t\t</li>
  139. \t</ul>
  140. </nav>
  141. ""menu/navbar.html.twig""/var/www/project.digitalethiopia.gov.et/templates/menu/navbar.html.twig");
  142.     }
  143. }