diff --git a/config.jsonc b/config.jsonc index 8cf3d13..60b6a7b 100644 --- a/config.jsonc +++ b/config.jsonc @@ -5,6 +5,7 @@ */ { "annotations": { + "separator": ";", "showUsers": true }, "cantPlay": { @@ -46,6 +47,7 @@ "canManageHome": {"staff": true, "admin": true}, "canManagePlacesAndEvents": {"member": true, "staff": true, "admin": true}, "canManageTitlesAndNames": {"member": true, "staff": true, "admin": true}, + "canManageTranslations": {"admin": true}, "canManageUsers": {"staff": true, "admin": true}, "canPlayClips": {"guest": 1, "member": 1, "staff": 4, "admin": 4}, "canPlayVideo": {"guest": 1, "member": 1, "staff": 4, "admin": 4}, @@ -874,6 +876,7 @@ "level": "guest", "ui": { "annotationsCalendarSize": 128, + "annotationsHighlight": "none", "annotationsMapSize": 128, "annotationsRange": "position", "annotationsSize": 256, @@ -899,11 +902,19 @@ }, "document": "", "documents": {}, + "documentFiltersSize": 176, "documentSize": 256, "documentView": "view", "documentsSelection": {}, "documentsSort": [{"key": "name", "operator": "+"}], "documentsView": "grid", + "documentFilters": [ + {"id": "author", "sort": [{"key": "items", "operator": "-"}]}, + {"id": "place", "sort": [{"key": "items", "operator": "-"}]}, + {"id": "date", "sort": [{"key": "name", "operator": "-"}]}, + {"id": "publisher", "sort": [{"key": "items", "operator": "-"}]}, + {"id": "language", "sort": [{"key": "items", "operator": "-"}]} + ], "edit": "", "edits": {}, "editSelection": [], @@ -969,6 +980,7 @@ "showCalendarControls": true, // fixme: should be false "showClips": true, "showDocument": true, + "showDocumentFilters": false, "showFilters": true, "showIconBrowser": false, "showInfo": true, diff --git a/static/js/infoView.bakma.js b/static/js/infoView.bakma.js index a4f7dfd..3db5612 100644 --- a/static/js/infoView.bakma.js +++ b/static/js/infoView.bakma.js @@ -60,7 +60,9 @@ pandora.ui.infoView = function(data) { .bindEvent({ click: function(data_) { if (data_.id == 'delete') { - pandora.$ui.deleteItemDialog = pandora.ui.deleteItemDialog(data).open(); + pandora.$ui.deleteItemsDialog = pandora.ui.deleteItemsDialog({ + items: [data] + }).open(); } } })