Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jovuit
funkwhale
Commits
86cf7a89
Verified
Commit
86cf7a89
authored
Aug 19, 2018
by
Eliot Berriot
Browse files
Fix #488: Display public playlists properly for anonymous users
parent
3f9bf9af
Changes
2
Hide whitespace changes
Inline
Side-by-side
changes/changelog.d/488.bugfix
0 → 100644
View file @
86cf7a89
Display public playlists properly for anonymous users (#488)
front/src/views/playlists/Detail.vue
View file @
86cf7a89
...
...
@@ -24,13 +24,13 @@
<play-button
class=
"orange"
:tracks=
"tracks"
><translate>
Play all
</translate></play-button>
<button
class=
"ui icon button"
v-if=
"playlist.user.id === $store.state.auth.profile.id"
v-if=
"
$store.state.auth.profile &&
playlist.user.id === $store.state.auth.profile.id"
@
click=
"edit = !edit"
>
<i
class=
"pencil icon"
></i>
<template
v-if=
"edit"
><translate>
End edition
</translate></
template
>
<
template
v-else
><translate>
Edit...
</translate></
template
>
</button>
<dangerous-button
v-if=
"playlist.user.id === $store.state.auth.profile.id"
class=
"labeled icon"
:action=
"deletePlaylist"
>
<dangerous-button
v-if=
"
$store.state.auth.profile &&
playlist.user.id === $store.state.auth.profile.id"
class=
"labeled icon"
:action=
"deletePlaylist"
>
<i
class=
"trash icon"
></i>
<translate>
Delete
</translate>
<p
slot=
"modal-header"
>
<translate
:translate-params=
"{playlist: playlist.name}"
>
Do you want to delete the playlist "%{ playlist }"?
</translate>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment