Move logout to new navigation item

refs #5543
This commit is contained in:
Eric Lippmann 2015-09-28 15:28:17 +02:00
parent 9dff864b80
commit a408636923
1 changed files with 9 additions and 9 deletions

View File

@ -307,6 +307,14 @@ class Web extends EmbeddedWeb
'label' => t('Navigation'),
'url' => 'navigation',
'priority' => 920
)
),
'label' => $this->user->getUsername(),
'url' => 'account',
'priority' => 900,
'renderer' => array(
'UserNavigationItemRenderer'
),
),
'logout' => array(
'label' => t('Logout'),
@ -317,14 +325,6 @@ class Web extends EmbeddedWeb
'target' => '_self'
)
)
),
'label' => $this->user->getUsername(),
'url' => 'account',
'priority' => 900,
'renderer' => array(
'UserNavigationItemRenderer'
),
)
);
if (Logger::writesToFile()) {