Merge branch 'playlist-detail-spacing' into 'develop'
Fix playlist header button spacing See merge request funkwhale/funkwhale!1271
This commit is contained in:
commit
b713d21a86
|
@ -0,0 +1 @@
|
||||||
|
Add spacing after "Play all" button in playlist view (!1271)
|
|
@ -22,7 +22,11 @@
|
||||||
</div>
|
</div>
|
||||||
</h2>
|
</h2>
|
||||||
<div class="ui hidden divider"></div>
|
<div class="ui hidden divider"></div>
|
||||||
|
<div class="header-buttons">
|
||||||
|
<div class="ui buttons">
|
||||||
<play-button class="vibrant" :is-playable="playlist.is_playable" :tracks="tracks"><translate translate-context="Content/Queue/Button.Label/Short, Verb">Play all</translate></play-button>
|
<play-button class="vibrant" :is-playable="playlist.is_playable" :tracks="tracks"><translate translate-context="Content/Queue/Button.Label/Short, Verb">Play all</translate></play-button>
|
||||||
|
</div>
|
||||||
|
<div class="ui buttons">
|
||||||
<button
|
<button
|
||||||
class="ui icon labeled button"
|
class="ui icon labeled button"
|
||||||
v-if="$store.state.auth.profile && playlist.user.id === $store.state.auth.profile.id"
|
v-if="$store.state.auth.profile && playlist.user.id === $store.state.auth.profile.id"
|
||||||
|
@ -31,6 +35,8 @@
|
||||||
<template v-if="edit"><translate translate-context="Content/Playlist/Button.Label/Verb">Stop Editing</translate></template>
|
<template v-if="edit"><translate translate-context="Content/Playlist/Button.Label/Verb">Stop Editing</translate></template>
|
||||||
<template v-else><translate translate-context="Content/*/Button.Label/Verb">Edit</translate></template>
|
<template v-else><translate translate-context="Content/*/Button.Label/Verb">Edit</translate></template>
|
||||||
</button>
|
</button>
|
||||||
|
</div>
|
||||||
|
<div class="ui buttons">
|
||||||
<button
|
<button
|
||||||
class="ui icon labeled button"
|
class="ui icon labeled button"
|
||||||
v-if="playlist.privacy_level === 'everyone' && playlist.is_playable"
|
v-if="playlist.privacy_level === 'everyone' && playlist.is_playable"
|
||||||
|
@ -38,7 +44,6 @@
|
||||||
<i class="code icon"></i>
|
<i class="code icon"></i>
|
||||||
<translate translate-context="Content/*/Button.Label/Verb">Embed</translate>
|
<translate translate-context="Content/*/Button.Label/Verb">Embed</translate>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<dangerous-button v-if="$store.state.auth.profile && playlist.user.id === $store.state.auth.profile.id" class="ui labeled danger icon button" :action="deletePlaylist">
|
<dangerous-button v-if="$store.state.auth.profile && playlist.user.id === $store.state.auth.profile.id" class="ui labeled danger icon button" :action="deletePlaylist">
|
||||||
<i class="trash icon"></i> <translate translate-context="*/*/*/Verb">Delete</translate>
|
<i class="trash icon"></i> <translate translate-context="*/*/*/Verb">Delete</translate>
|
||||||
<p slot="modal-header" v-translate="{playlist: playlist.name}" translate-context="Popup/Playlist/Title/Call to action" :translate-params="{playlist: playlist.name}">
|
<p slot="modal-header" v-translate="{playlist: playlist.name}" translate-context="Popup/Playlist/Title/Call to action" :translate-params="{playlist: playlist.name}">
|
||||||
|
@ -48,6 +53,7 @@
|
||||||
<div slot="modal-confirm"><translate translate-context="Popup/Playlist/Button.Label/Verb">Delete playlist</translate></div>
|
<div slot="modal-confirm"><translate translate-context="Popup/Playlist/Button.Label/Verb">Delete playlist</translate></div>
|
||||||
</dangerous-button>
|
</dangerous-button>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<modal v-if="playlist.privacy_level === 'everyone' && playlist.is_playable" :show.sync="showEmbedModal">
|
<modal v-if="playlist.privacy_level === 'everyone' && playlist.is_playable" :show.sync="showEmbedModal">
|
||||||
<h4 class="header">
|
<h4 class="header">
|
||||||
<translate translate-context="Popup/Album/Title/Verb">Embed this playlist on your website</translate>
|
<translate translate-context="Popup/Album/Title/Verb">Embed this playlist on your website</translate>
|
||||||
|
@ -63,6 +69,7 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</modal>
|
</modal>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="ui vertical stripe segment">
|
<section class="ui vertical stripe segment">
|
||||||
<template v-if="edit">
|
<template v-if="edit">
|
||||||
|
|
Loading…
Reference in New Issue