diff --git a/config.jsonc b/config.jsonc index 31fb985..b0bb9e8 100644 --- a/config.jsonc +++ b/config.jsonc @@ -106,7 +106,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution. text of clips (in grid view, below the icon). Excluding a layer from this list means it will not be included in find annotations. */ - "clipLayers": ["publicnotes", "keywords", "subtitles"], + "clipLayers": ["publicnotes", "prompts", "keywords", "subtitles"], /* "documentKeys" defines the metadata associated with each document. Required keys are "*", "id" and "title". @@ -613,6 +613,12 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution. "type": "layer", "find": true }, + { + "id": "prompts", + "title": "Prompts", + "type": "layer", + "find": true + }, { "id": "numberofannotations", "title": "Annotations", @@ -918,6 +924,14 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution. "showInfo": true, "type": "text" }, + { + "id": "prompts", + "title": "Prompts", + "canAddAnnotations": {"staff": true, "admin": true}, + "overlap": true, + "item": "Prompt", + "type": "text" + } { "id": "subtitles", "title": "Subtitles", @@ -1216,6 +1230,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution. "keywords": true, "privatenotes": true, "publicnotes": true, + "prompts": true, "subtitles": true }, "showMapControls": false, diff --git a/static/js/infoView.p_for_power.js b/static/js/infoView.p_for_power.js index a285e9f..39b4a5e 100644 --- a/static/js/infoView.p_for_power.js +++ b/static/js/infoView.p_for_power.js @@ -45,7 +45,8 @@ pandora.ui.infoView = function(data, isMixed) { 'numberoffiles', 'numberofannotations', 'numberofcuts', 'words', 'wordsperminute', 'duration', 'aspectratio', 'pixels', 'size', 'resolution', 'created', 'modified', 'accessed', - 'random' + 'random', + 'numberoftags' ], statisticsWidth = 128,