diff --git a/config.jsonc b/config.jsonc index bf64128..baa73c8 100644 --- a/config.jsonc +++ b/config.jsonc @@ -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, diff --git a/static/js/infoView.mdr.js b/static/js/infoView.mdr.js index dff73d7..3f1fc0f 100644 --- a/static/js/infoView.mdr.js +++ b/static/js/infoView.mdr.js @@ -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: '' + result.data.title