Move "temporary logout" to menu
This commit is contained in:
parent
2b1c967364
commit
edd03d3e55
|
@ -16,3 +16,8 @@ url = "config"
|
||||||
title = "Preferences"
|
title = "Preferences"
|
||||||
url = "preference"
|
url = "preference"
|
||||||
|
|
||||||
|
[Logout]
|
||||||
|
url = "authentication/logout"
|
||||||
|
icon = img/icons/logout.png
|
||||||
|
priority = 300
|
||||||
|
|
||||||
|
|
|
@ -20,5 +20,4 @@ $menu = Menu::fromConfig();
|
||||||
'items' => $menu->getChildren(),
|
'items' => $menu->getChildren(),
|
||||||
'url' => $url
|
'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>
|
</div>
|
||||||
|
|
|
@ -16,3 +16,8 @@ url = "config"
|
||||||
title = "Preferences"
|
title = "Preferences"
|
||||||
url = "preference"
|
url = "preference"
|
||||||
|
|
||||||
|
[Logout]
|
||||||
|
url = "authentication/logout"
|
||||||
|
icon = img/icons/logout.png
|
||||||
|
priority = 300
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue