Skip to content
Snippets Groups Projects
Commit 88055e46 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch '202-add-admin-link' into 'develop'

Resolve "Add a link to admin"

Closes #202

See merge request funkwhale/funkwhale!364
parents 52a96e29 8ab00701
No related branches found
No related tags found
No related merge requests found
Add link to admin on "Staff member" button (#202)
......@@ -16,10 +16,13 @@
<div class="ui basic green label">
<translate>This is you!</translate>
</div>
<div v-if="profile.is_staff" class="ui yellow label">
<a v-if="profile.is_staff"
class="ui yellow label"
:href="$store.getters['instance/absoluteUrl']('/api/admin')"
target="_blank">
<i class="star icon"></i>
<translate>Staff member</translate>
</div>
</a>
<router-link class="ui tiny basic button" :to="{path: '/settings'}">
<i class="setting icon"></i>
<translate>Settings...</translate>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment