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

[ui] Use "normalized" name for primaryview_display_ctrl

parent be4fd366fbd6
......@@ -32,7 +32,7 @@ from cubes.seda.views import viewlib
_ = unicode
pvs = uicfg.primaryview_section
pv_ctrl = uicfg.primaryview_display_ctrl
pvdc = uicfg.primaryview_display_ctrl
rec = uicfg.reledit_ctrl
afs = uicfg.autoform_section
affk = uicfg.autoform_field_kwargs
......@@ -100,11 +100,10 @@ afs.tag_object_of(('*', 'seda_compressed', 'SEDABinaryDataObject'), 'main', 'hid
pvs.tag_object_of(('*', 'seda_compressed', 'SEDABinaryDataObject'), 'attributes')
pvs.tag_object_of(('*', 'seda_data_object_reference_id', 'SEDABinaryDataObject'),
'relations')
pv_ctrl.tag_object_of(('*', 'seda_data_object_reference_id', 'SEDABinaryDataObject'),
{'vid': 'autolimited',
'subvid': 'seda.object-ref.archive-unit',
'label': _('referenced by:'),
})
pvdc.tag_object_of(('*', 'seda_data_object_reference_id', 'SEDABinaryDataObject'),
{'vid': 'autolimited',
'subvid': 'seda.object-ref.archive-unit',
'label': _('referenced by:')})
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