Compare commits

...

2 commits

Author SHA1 Message Date
j
1e4b59e746 add/remove button for mixed fields 2023-07-27 14:05:22 +02:00
j
7bb2fd690b only members can see restricted documents 2023-07-27 14:05:10 +02:00
2 changed files with 8 additions and 1 deletions

View file

@ -60,7 +60,7 @@
"canSeeDebugMenu": {"staff": true, "admin": true},
"canSeeExtraItemViews": {"staff": true, "admin": true},
"canSeeMedia": {"staff": true, "admin": true},
"canSeeDocument": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
"canSeeDocument": {"guest": 0, "member": 1, "staff": 4, "admin": 4},
"canSeeItem": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
"canSeeSize": {"staff": true, "admin": true},
"canSeeSoftwareVersion": {"staff": true, "admin": true},

View file

@ -707,6 +707,13 @@ pandora.ui.infoView = function(data, isMixed) {
}
})
.appendTo($element);
if (isMixed[key] && Ox.contains(listKeys, key)) {
pandora.ui.addRemoveKeyDialog({
ids: ui.listSelection,
key: key,
section: ui.section
}).appendTo($element)
}
}
});
$element.appendTo($text);