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

Merge branch 'develop' into 'develop'

Add sign up link in the sidebar

Closes #408

See merge request funkwhale/funkwhale!392
parents 9af8a68b b8470005
No related branches found
No related tags found
No related merge requests found
Add sign up link in the sidebar (#408)
......@@ -42,7 +42,12 @@
<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="{name: 'logout'}"><i class="sign out icon"></i><translate>Logout</translate></router-link>
<router-link class="item" v-else :to="{name: 'login'}"><i class="sign in icon"></i><translate>Login</translate></router-link>
<template v-else>
<router-link class="item" :to="{name: 'login'}"><i class="sign in icon"></i><translate>Login</translate></router-link>
<router-link class="item" :to="{path: '/signup'}">
<translate>Create an account</translate>
</router-link>
</template>
</div>
</div>
<div class="item">
......
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