|
|
|
@ -1,7 +1,12 @@
@@ -1,7 +1,12 @@
|
|
|
|
|
<nav> |
|
|
|
|
«if(data.user)»<a class="button logout" href="logout" />Logout</a>«endif» |
|
|
|
|
«if(data.user)» |
|
|
|
|
<a class="button logout" href="logout" />Logout</a> |
|
|
|
|
«endif» |
|
|
|
|
<a href="index">Home</a> |
|
|
|
|
<a href="admin">Administration</a> |
|
|
|
|
«if(!data.user)» |
|
|
|
|
<a class="button" href="reset-pw" />Passwort vergessen?</a> |
|
|
|
|
«endif» |
|
|
|
|
|
|
|
|
|
<script type="text/javascript"> |
|
|
|
|
if ('«data.user.permissions»'.includes('admin')){ |
|
|
|
|