.g-user-text
  if user
    a.g-user-dropdown-link(data-toggle="dropdown", data-target="#g-user-action-menu")
      | #[i.icon-user] #{user.get('login')}
      i.icon-down-open
    #g-user-action-menu.dropdown
      ul.dropdown-menu(role="menu")
        li.dropdown-header(role="presentation")
          | #{user.get('firstName')} #{user.get('lastName')}
        li(role="presentation")
          a.g-my-folders
            i.icon-folder
            | My folders
        li(role="presentation")
          a.g-my-settings
            i.icon-cog
            | My account
        li.divider(role="presentation")
        li(role="presentation")
          a.g-logout
            i.icon-logout
            | Log out
  else
    a.g-register Register
    .g-or-text or
    a.g-login Log In
      i.icon-login

.g-user-text
  if user
    a.g-user-dropdown-link(data-toggle="dropdown", data-target="#g-user-action-menu")
      | #[i.icon-user] #{user.get('login')}
      i.icon-down-open
    #g-user-action-menu.dropdown
      ul.dropdown-menu(role="menu")
        li(role="presentation")
          a.g-my-folders
            i.icon-folder
            | My folders
        li(role="presentation")
          a.g-my-settings
            i.icon-cog
            | My account
        li.divider(role="presentation")
        li(role="presentation")
          a.g-logout
            i.icon-logout
            | Log out
  else
    a.g-register Register
    .g-or-text or
    a.g-login Log In
      i.icon-login

Remove user full name from dropdown menu
Remove user full name from dropdown menu

It breaks assumptions for plugins modifying the menu
