You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
503 B
16 lines
503 B
<nav> |
|
«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')){ |
|
$('<a/>',{class:'button',href:'reload'}).text('Templates neu laden').appendTo($('nav')); |
|
} |
|
</script> |
|
</nav> |