Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mélanie Chauvel
funkwhale
Commits
5607968f
Commit
5607968f
authored
Dec 07, 2019
by
Mélanie Chauvel
Browse files
Improve header of add to playlist dialog, making the dialog more compact
parent
d419b6d3
Pipeline
#8167
passed with stages
in 6 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
front/src/components/playlists/PlaylistModal.vue
View file @
5607968f
<
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"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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