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.
11 lines
381 B
11 lines
381 B
<nav> |
|
«if(data.user)»<a class="button logout" href="logout" />Logout</a>«endif» |
|
<a href="index">Home</a> |
|
<a href="admin">Administration</a> |
|
|
|
<script type="text/javascript"> |
|
if ('«data.user.permissions»'.includes('admin')){ |
|
$('<a/>',{class:'button',href:'reload'}).text('Reload templates').appendTo($('nav')); |
|
} |
|
</script> |
|
</nav> |