mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 22:19:17 +02:00
Add sign up link in the sidebar
This commit is contained in:
parent
9af8a68b4d
commit
b847000554
2 changed files with 7 additions and 1 deletions
1
changes/changelog.d/408.enhancement
Normal file
1
changes/changelog.d/408.enhancement
Normal file
|
@ -0,0 +1 @@
|
|||
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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue