add admin link to nav

This commit is contained in:
taehoon 2019-09-14 13:50:03 -04:00
parent 57fedd63ca
commit 4f75ad9905
2 changed files with 9 additions and 0 deletions

View file

@ -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="#"

View file

@ -68,6 +68,7 @@
},
"nav": {
"about": "About",
"admin_panel": "Admin Panel",
"back": "Back",
"chat": "Local Chat",
"friend_requests": "Follow Requests",