Commit 887d1cfe authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch '488-playlist-anonymous' into 'develop'

Resolve "Public playlist not available for anonymous users"

Closes #488

See merge request funkwhale/funkwhale!381
parents 3f9bf9af 86cf7a89
Display public playlists properly for anonymous users (#488)
......@@ -24,13 +24,13 @@
<play-button class="orange" :tracks="tracks"><translate>Play all</translate></play-button>
class="ui icon button"
v-if=" === $"
v-if="$store.state.auth.profile && === $"
@click="edit = !edit">
<i class="pencil icon"></i>
<template v-if="edit"><translate>End edition</translate></template>
<template v-else><translate>Edit...</translate></template>
<dangerous-button v-if=" === $" class="labeled icon" :action="deletePlaylist">
<dangerous-button v-if="$store.state.auth.profile && === $" class="labeled icon" :action="deletePlaylist">
<i class="trash icon"></i> <translate>Delete</translate>
<p slot="modal-header">
<translate :translate-params="{playlist:}">Do you want to delete the playlist "%{ playlist }"?</translate>
Supports Markdown
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