forked from srxl/akkoma-fe
add admin link to nav
This commit is contained in:
parent
57fedd63ca
commit
4f75ad9905
2 changed files with 9 additions and 0 deletions
|
@ -53,6 +53,14 @@
|
||||||
:title="$t('nav.preferences')"
|
:title="$t('nav.preferences')"
|
||||||
/>
|
/>
|
||||||
</router-link>
|
</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
|
<a
|
||||||
v-if="currentUser"
|
v-if="currentUser"
|
||||||
href="#"
|
href="#"
|
||||||
|
|
|
@ -68,6 +68,7 @@
|
||||||
},
|
},
|
||||||
"nav": {
|
"nav": {
|
||||||
"about": "About",
|
"about": "About",
|
||||||
|
"admin_panel": "Admin Panel",
|
||||||
"back": "Back",
|
"back": "Back",
|
||||||
"chat": "Local Chat",
|
"chat": "Local Chat",
|
||||||
"friend_requests": "Follow Requests",
|
"friend_requests": "Follow Requests",
|
||||||
|
|
Loading…
Reference in a new issue