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,15 +307,6 @@ class Web extends EmbeddedWeb
'label' => t('Navigation'),
'url' => 'navigation',
'priority' => 920
),
'logout' => array(
'label' => t('Logout'),
'url' => 'authentication/logout',
'priority' => 990,
'renderer' => array(
'LogoutNavigationItemRenderer',
'target' => '_self'
)
)
),
'label' => $this->user->getUsername(),
@ -324,6 +315,15 @@ class Web extends EmbeddedWeb
'renderer' => array(
'UserNavigationItemRenderer'
),
),
'logout' => array(
'label' => t('Logout'),
'url' => 'authentication/logout',
'priority' => 990,
'renderer' => array(
'LogoutNavigationItemRenderer',
'target' => '_self'
)
)
);