From edd03d3e555b69bee9ece357799c7afab4cf9c9c Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 7 Mar 2014 17:28:41 +0000 Subject: [PATCH] Move "temporary logout" to menu --- .vagrant-puppet/files/etc/icingaweb/menu.ini | 5 +++++ application/layouts/scripts/parts/navigation.phtml | 1 - config/menu.ini | 5 +++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.vagrant-puppet/files/etc/icingaweb/menu.ini b/.vagrant-puppet/files/etc/icingaweb/menu.ini index e33950bb9..3ddd07239 100644 --- a/.vagrant-puppet/files/etc/icingaweb/menu.ini +++ b/.vagrant-puppet/files/etc/icingaweb/menu.ini @@ -16,3 +16,8 @@ url = "config" title = "Preferences" url = "preference" +[Logout] +url = "authentication/logout" +icon = img/icons/logout.png +priority = 300 + diff --git a/application/layouts/scripts/parts/navigation.phtml b/application/layouts/scripts/parts/navigation.phtml index 176c71bc3..2bc1b881e 100644 --- a/application/layouts/scripts/parts/navigation.phtml +++ b/application/layouts/scripts/parts/navigation.phtml @@ -20,5 +20,4 @@ $menu = Menu::fromConfig(); 'items' => $menu->getChildren(), 'url' => $url )) ?> -
Temporary Logout diff --git a/config/menu.ini b/config/menu.ini index e33950bb9..3ddd07239 100644 --- a/config/menu.ini +++ b/config/menu.ini @@ -16,3 +16,8 @@ url = "config" title = "Preferences" url = "preference" +[Logout] +url = "authentication/logout" +icon = img/icons/logout.png +priority = 300 +