diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2019-10-02 20:12:44 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2019-10-02 20:12:44 +0000 |
| commit | 84dbc86624376bb272a7fc1f1cc57a027f1470ce (patch) | |
| tree | 6ad9102f5fc74fec7724eaadd5c59440b0c8a93d /src/App.vue | |
| parent | f3fdc92f15312fc5c79da90ab37a26827e80f202 (diff) | |
| parent | 33759e41537f92c560df3d08f66207cd8ab2219b (diff) | |
Merge branch 'admin-link' into 'develop'
Add Admin panel link to navigation for admins
See merge request pleroma/pleroma-fe!954
Diffstat (limited to 'src/App.vue')
| -rw-r--r-- | src/App.vue | 9 |
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" |
