add song title title

This commit is contained in:
j 2019-06-15 09:46:37 +02:00
parent a62204dc06
commit 3395df7360

View file

@ -439,6 +439,12 @@ pandora.ui.infoView = function(data, isMixed) {
// Songs // Songs
if (data.songs || canEdit) { if (data.songs || canEdit) {
$('<div>')
.css({
marginTop: '12px',
})
.html(formatKey('songs'))
.appendTo($text);
Ox.EditableContent({ Ox.EditableContent({
clickLink: pandora.clickLink, clickLink: pandora.clickLink,
collapseToEnd: false, collapseToEnd: false,
@ -449,7 +455,7 @@ pandora.ui.infoView = function(data, isMixed) {
'<img style="float: left; max-width: 256px; max-height: 256px; margin: 0 16px 16px 0" src=' '<img style="float: left; max-width: 256px; max-height: 256px; margin: 0 16px 16px 0" src='
); );
}, },
placeholder: formatLight(Ox._(isMixed.songs ? 'Mixed Songs' : 'No Songs')), placeholder: formatLight(Ox._(isMixed.songs ? 'Mixed Songs' : 'unknown')),
tooltip: canEdit ? pandora.getEditTooltip() : '', tooltip: canEdit ? pandora.getEditTooltip() : '',
type: 'textarea', type: 'textarea',
value: data.songs || '' value: data.songs || ''
@ -457,7 +463,6 @@ pandora.ui.infoView = function(data, isMixed) {
}) })
.css(css) .css(css)
.css({ .css({
marginTop: '12px',
overflow: 'hidden' overflow: 'hidden'
}) })
.bindEvent({ .bindEvent({