Move "temporary logout" to menu

This commit is contained in:
Thomas Gelf 2014-03-07 17:28:41 +00:00
parent 2b1c967364
commit edd03d3e55
3 changed files with 10 additions and 1 deletions

View File

@ -16,3 +16,8 @@ url = "config"
title = "Preferences"
url = "preference"
[Logout]
url = "authentication/logout"
icon = img/icons/logout.png
priority = 300

View File

@ -20,5 +20,4 @@ $menu = Menu::fromConfig();
'items' => $menu->getChildren(),
'url' => $url
)) ?>
<br /><a href="<?= Url::fromPath('authentication/logout') ?>" data-base-target="layout" style="display: block; padding-left: 2.5em; color: white; text-decoration: none; font-style: italic;">Temporary Logout</a>
</div>

View File

@ -16,3 +16,8 @@ url = "config"
title = "Preferences"
url = "preference"
[Logout]
url = "authentication/logout"
icon = img/icons/logout.png
priority = 300