Commit 8ab00701 authored by Renon's avatar Renon Committed by Agate

Resolve "Add a link to admin"

parent 52a96e29
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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment