Commit d6988cd9 authored by Mélanie Chauvel's avatar Mélanie Chauvel
Browse files

Improve header of add to playlist dialog, making the dialog more compact

parent 5e5add95
Pipeline #13077 failed with stages
in 53 seconds
<template>
<modal @update:show="update" :show="$store.state.playlists.showModal">
<div class="header">
<translate translate-context="Popup/Playlist/Title/Verb">Manage playlists</translate>
</div>
<div class="scrolling content">
<div class="description">
<template v-if="track">
<h4 class="ui header"><translate translate-context="Popup/Playlist/Title">Current track</translate></h4>
<span
<template v-if="track">
<h2 class="ui header">
<translate translate-context="Popup/Playlist/Title/Verb">Add to playlist</translate>
<div
class="ui sub header"
translate-context="Popup/Playlist/Paragraph"
v-translate="{artist: track.artist.name, title: track.title}"
:translate-params="{artist: track.artist.name, title: track.title}">
"%{ title }", by %{ artist }
</span>
<div class="ui divider"></div>
</template>
<playlist-form :key="formKey"></playlist-form>
<div class="ui divider"></div>
</div>
</div>
</h2>
</template>
<translate v-else translate-context="Popup/Playlist/Title/Verb">Manage playlists</translate>
</div>
<div class="scrolling content">
<playlist-form :key="formKey"></playlist-form>
<div class="ui divider"></div>
<div v-if="playlists.length > 0">
<div v-if="showDuplicateTrackAddConfirmation" class="ui warning message">
<p translate-context="Popup/Playlist/Paragraph"
......
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