diff --git a/pandora/padma.jsonc b/pandora/padma.jsonc index d1d0b67e..8cf4f0a4 100644 --- a/pandora/padma.jsonc +++ b/pandora/padma.jsonc @@ -143,11 +143,6 @@ "autocomplete": true, "find": true }, - { - "id": "keywords", - "title": "Keywords", - "type": "layer" - }, { "id": "director", "title": "Director", @@ -201,8 +196,8 @@ //"format": {"type": "date", "args": ["%a, %b %e, %Y"]} }, { - "id": "description", - "title": "Description", + "id": "summary", + "title": "Summary", "type": "text", "find": true }, @@ -221,22 +216,32 @@ { "id": "places", "title": "Places", - "type": "layer" + "type": "layer", + "find": true }, { "id": "events", "title": "Events", - "type": "layer" + "type": "layer", + "find": true + }, + { + "id": "keywords", + "title": "Keywords", + "type": "layer", + "find": true }, { "id": "descriptions", "title": "Descriptions", - "type": "layer" + "type": "layer", + "find": true }, { "id": "transcripts", "title": "Transcripts", - "type": "layer" + "type": "layer", + "find": true }, { "id": "duration", diff --git a/static/js/pandora/infoView.padma.js b/static/js/pandora/infoView.padma.js index 3b7186cf..de655e58 100644 --- a/static/js/pandora/infoView.padma.js +++ b/static/js/pandora/infoView.padma.js @@ -358,7 +358,7 @@ pandora.ui.infoView = function(data) { $('
').css(css).html(html).appendTo($center); } - // Description ------------------------------------------------------------- + // Summary ------------------------------------------------------------- if (canEdit) { $('
') @@ -368,22 +368,22 @@ pandora.ui.infoView = function(data) { clickLink: pandora.clickLink, editable: canEdit, maxHeight: Infinity, - placeholder: formatLight('No description'), + placeholder: formatLight('No Summary'), tooltip: canEdit ? 'Doubleclick to edit' : '', type: 'textarea', - value: data.description || '', + value: data.summary || '', //width: 300 }) .bindEvent({ submit: function(event) { - editMetadata('description', event.value); + editMetadata('summary', event.value); } }) .css(css) ) .appendTo($center); - } else if(data.description) { - $('
').css(css).html(data.description).appendTo($center); + } else if(data.summary) { + $('
').css(css).html(data.summary).appendTo($center); } // License -----------------------------------------------------------------