update config

This commit is contained in:
j 2019-08-19 11:33:33 +02:00
parent ede6cfa984
commit 0d40c14c00
2 changed files with 15 additions and 1 deletions

View file

@ -5,6 +5,7 @@
*/ */
{ {
"annotations": { "annotations": {
"separator": ";",
"showUsers": true "showUsers": true
}, },
"cantPlay": { "cantPlay": {
@ -46,6 +47,7 @@
"canManageHome": {"staff": true, "admin": true}, "canManageHome": {"staff": true, "admin": true},
"canManagePlacesAndEvents": {"member": true, "staff": true, "admin": true}, "canManagePlacesAndEvents": {"member": true, "staff": true, "admin": true},
"canManageTitlesAndNames": {"member": true, "staff": true, "admin": true}, "canManageTitlesAndNames": {"member": true, "staff": true, "admin": true},
"canManageTranslations": {"admin": true},
"canManageUsers": {"staff": true, "admin": true}, "canManageUsers": {"staff": true, "admin": true},
"canPlayClips": {"guest": 1, "member": 1, "staff": 4, "admin": 4}, "canPlayClips": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
"canPlayVideo": {"guest": 1, "member": 1, "staff": 4, "admin": 4}, "canPlayVideo": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
@ -874,6 +876,7 @@
"level": "guest", "level": "guest",
"ui": { "ui": {
"annotationsCalendarSize": 128, "annotationsCalendarSize": 128,
"annotationsHighlight": "none",
"annotationsMapSize": 128, "annotationsMapSize": 128,
"annotationsRange": "position", "annotationsRange": "position",
"annotationsSize": 256, "annotationsSize": 256,
@ -899,11 +902,19 @@
}, },
"document": "", "document": "",
"documents": {}, "documents": {},
"documentFiltersSize": 176,
"documentSize": 256, "documentSize": 256,
"documentView": "view", "documentView": "view",
"documentsSelection": {}, "documentsSelection": {},
"documentsSort": [{"key": "name", "operator": "+"}], "documentsSort": [{"key": "name", "operator": "+"}],
"documentsView": "grid", "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": "", "edit": "",
"edits": {}, "edits": {},
"editSelection": [], "editSelection": [],
@ -969,6 +980,7 @@
"showCalendarControls": true, // fixme: should be false "showCalendarControls": true, // fixme: should be false
"showClips": true, "showClips": true,
"showDocument": true, "showDocument": true,
"showDocumentFilters": false,
"showFilters": true, "showFilters": true,
"showIconBrowser": false, "showIconBrowser": false,
"showInfo": true, "showInfo": true,

View file

@ -60,7 +60,9 @@ pandora.ui.infoView = function(data) {
.bindEvent({ .bindEvent({
click: function(data_) { click: function(data_) {
if (data_.id == 'delete') { if (data_.id == 'delete') {
pandora.$ui.deleteItemDialog = pandora.ui.deleteItemDialog(data).open(); pandora.$ui.deleteItemsDialog = pandora.ui.deleteItemsDialog({
items: [data]
}).open();
} }
} }
}) })