aboutsummaryrefslogtreecommitdiff
path: root/src/App.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue
index 8d7f6c79..dbe842ec 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -54,6 +54,15 @@
/>
</router-link>
<a
+ v-if="currentUser && currentUser.role === 'admin'"
+ href="/pleroma/admin/#/login-pleroma"
+ class="mobile-hidden"
+ target="_blank"
+ ><i
+ class="button-icon icon-gauge nav-icon"
+ :title="$t('nav.administration')"
+ /></a>
+ <a
v-if="currentUser"
href="#"
class="mobile-hidden"