Commit 3f72e5a6 authored by Eliot Berriot's avatar Eliot Berriot 💬

Merge branch 'develop' into 'develop'

Add sign up link in the sidebar

Closes #408

See merge request funkwhale/funkwhale!392
parents 9af8a68b b8470005
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">
......
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