diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/App.vue | 8 | ||||
| -rw-r--r-- | src/i18n/en.json | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue index 8d7f6c79..5d502f26 100644 --- a/src/App.vue +++ b/src/App.vue @@ -54,6 +54,14 @@ /> </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="#" class="mobile-hidden" diff --git a/src/i18n/en.json b/src/i18n/en.json index 52cf0f36..389e84c8 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -68,6 +68,7 @@ }, "nav": { "about": "About", + "admin_panel": "Admin Panel", "back": "Back", "chat": "Local Chat", "friend_requests": "Follow Requests", |
