mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 10:51:36 +01:00
Add administrator role plus manage dashboard and cleanup database migrations
This commit is contained in:
@@ -53,6 +53,11 @@
|
||||
{/if}
|
||||
<ul class="link-wrapper unpadded">
|
||||
{#if data.user}
|
||||
{#if data.user.user_role === "administrator"}
|
||||
<li>
|
||||
<a href="/manage">Manage</a>
|
||||
</li>
|
||||
{/if}
|
||||
<li>
|
||||
<a href="/account">Account</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user