Merge branch 'master' of git.0x2620.org:/pandora_mdr
This commit is contained in:
commit
d0769bafaf
2 changed files with 10 additions and 0 deletions
|
@ -671,6 +671,8 @@
|
|||
"id": "keywords",
|
||||
"title": "Keywords",
|
||||
"canAddAnnotations": {"member": true, "staff": true, "admin": true},
|
||||
"hasEvents": true,
|
||||
"hasPlaces": true,
|
||||
"item": "Keyword",
|
||||
"autocomplete": true,
|
||||
"overlap": true,
|
||||
|
@ -680,6 +682,8 @@
|
|||
"id": "notes",
|
||||
"title": "Notes",
|
||||
"canAddAnnotations": {"member": true, "friend": true, "staff": true, "admin": true},
|
||||
"hasEvents": true,
|
||||
"hasPlaces": true,
|
||||
"item": "Note",
|
||||
"overlap": true,
|
||||
"showInfo": true,
|
||||
|
|
|
@ -23,6 +23,7 @@ pandora.ui.infoView = function(data) {
|
|||
'writer', 'producer', 'featuring'
|
||||
],
|
||||
listKeys = nameKeys.concat(['language', 'themes', 'groups']),
|
||||
posterKeys = nameKeys.concat(['title', 'date', 'collection']),
|
||||
statisticsWidth = 128,
|
||||
|
||||
$bar = Ox.Bar({size: 16})
|
||||
|
@ -525,6 +526,11 @@ pandora.ui.infoView = function(data) {
|
|||
}
|
||||
pandora.updateItemContext();
|
||||
pandora.$ui.browser.value(result.data.id, key, result.data[key]);
|
||||
if (Ox.contains(posterKeys, key) && ui.icons == 'posters') {
|
||||
src = pandora.getMediaURL('/' + data.id + '/poster512.jpg?' + Ox.uid());
|
||||
$icon.attr({src: src});
|
||||
$reflectionIcon.attr({src: src});
|
||||
}
|
||||
pandora.$ui.itemTitle
|
||||
.options({
|
||||
title: '<b>' + result.data.title
|
||||
|
|
Loading…
Reference in a new issue