add admin link to nav
This commit is contained in:
parent
57fedd63ca
commit
4f75ad9905
@ -53,6 +53,14 @@
|
||||
:title="$t('nav.preferences')"
|
||||
/>
|
||||
</router-link>
|
||||
<a
|
||||
v-if="currentUser && currentUser.role === 'admin'"
|
||||
href="/pleroma/admin"
|
||||
class="mobile-hidden"
|
||||
><i
|
||||
class="button-icon icon-gauge nav-icon"
|
||||
:title="$t('nav.admin_panel')"
|
||||
/></a>
|
||||
<a
|
||||
v-if="currentUser"
|
||||
href="#"
|
||||
|
@ -68,6 +68,7 @@
|
||||
},
|
||||
"nav": {
|
||||
"about": "About",
|
||||
"admin_panel": "Admin Panel",
|
||||
"back": "Back",
|
||||
"chat": "Local Chat",
|
||||
"friend_requests": "Follow Requests",
|
||||
|
Loading…
Reference in New Issue
Block a user