Commit 2be6de1c authored by Arthur Saint-Genis's avatar Arthur Saint-Genis Committed by Eliot Berriot

Resolve "Improve settings page visibility"

parent 42e7db4f
Move setting link from profile page to the sidebar (#406)
......@@ -41,6 +41,7 @@
</translate>
<img class="ui right floated circular tiny avatar image" v-if="$store.state.auth.profile.avatar.square_crop" :src="$store.getters['instance/absoluteUrl']($store.state.auth.profile.avatar.square_crop)" />
</router-link>
<router-link class="item" v-if="$store.state.auth.authenticated" :to="{path: '/settings'}"><i class="setting icon"></i><translate>Settings</translate></router-link>
<router-link class="item" v-if="$store.state.auth.authenticated" :to="{name: 'logout'}"><i class="sign out icon"></i><translate>Logout</translate></router-link>
<template v-else>
<router-link class="item" :to="{name: 'login'}"><i class="sign in icon"></i><translate>Login</translate></router-link>
......
......@@ -23,11 +23,6 @@
<i class="star icon"></i>
<translate>Staff member</translate>
</a>
<router-link class="ui tiny basic button" :to="{path: '/settings'}">
<i class="setting icon"></i>
<translate>Settings...</translate>
</router-link>
</div>
</template>
</div>
......
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