<?php

/* VGMWOBundle:Menu_parts:menu_user.html.twig */
class __TwigTemplate_c8d309f4c8f7b205c1a7d72f279dc2dd49a4a2da06d52ed048d40f7a8c848e8e extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        if ($this->env->getExtension('security')->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
            // line 2
            echo "    <li class=\"dropdown\">
        <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">
            ";
            // line 4
            echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("layout.logged_in_as", array("%username%" => $this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : null), "user", array()), "username", array())), "FOSUserBundle"), "html", null, true);
            echo "
            <span class=\"caret\"></span>
        </a>
        <ul class=\"dropdown-menu\" role=\"menu\">
            <li>
                <a href=\"";
            // line 9
            echo $this->env->getExtension('routing')->getPath("vgm_show_profile");
            echo "\">
                    <span class=\"glyphicon glyphicon-user\"></span>
                    ";
            // line 11
            echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("profile.profile", array(), "FOSUserBundle"), "html", null, true);
            echo "
                </a>
            </li>
            <li>
                <a href=\"";
            // line 15
            echo $this->env->getExtension('routing')->getPath("fos_user_security_logout");
            echo "\">
                    <span class=\"glyphicon glyphicon-off\"></span>
                    ";
            // line 17
            echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("layout.logout", array(), "FOSUserBundle"), "html", null, true);
            echo "
                </a>
            </li>
        </ul>
    </li>
";
        } else {
            // line 23
            echo "    <li>
        <a href=\"";
            // line 24
            echo $this->env->getExtension('routing')->getPath("fos_user_security_login");
            echo "\">";
            echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("layout.login", array(), "FOSUserBundle"), "html", null, true);
            echo "</a>
    </li>
";
        }
    }

    public function getTemplateName()
    {
        return "VGMWOBundle:Menu_parts:menu_user.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  62 => 24,  59 => 23,  50 => 17,  45 => 15,  38 => 11,  33 => 9,  25 => 4,  21 => 2,  19 => 1,);
    }
}
