Commit 7886a547 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

Apply some existing uicfg configuration to both binary and physical data objects

parent 01add3208c55
......@@ -92,15 +92,16 @@ class ContainedSearchForRelatedEntitiesView(skos.SearchForRelatedConceptsView):
return baserql, {'at': container}
# hide some relation from autoform because of limitation of _container_eid
afs.tag_object_of(('*', 'seda_compressed', 'SEDABinaryDataObject'), 'main', 'hidden')
pvs.tag_object_of(('*', 'seda_compressed', 'SEDABinaryDataObject'), 'attributes')
pvs.tag_object_of(('*', 'seda_data_object_reference_id', 'SEDABinaryDataObject'),
pvs.tag_object_of(('*', 'seda_data_object_reference_id', '*'),
'relations')
pvdc.tag_object_of(('*', 'seda_data_object_reference_id', 'SEDABinaryDataObject'),
pvdc.tag_object_of(('*', 'seda_data_object_reference_id', '*'),
{'vid': 'autolimited',
'subvid': 'seda.object-ref.archive-unit',
'label': _('referenced by:')})
# hide some relation from autoform because of limitation of _container_eid
afs.tag_object_of(('*', 'seda_compressed', 'SEDABinaryDataObject'), 'main', 'hidden')
pvs.tag_object_of(('*', 'seda_compressed', 'SEDABinaryDataObject'), 'attributes')
rec.tag_object_of(('*', 'seda_compressed', 'SEDABinaryDataObject'),
{'rvid': 'seda.reledit.complexlink',
'novalue_label': _('<unauthorized>')})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment