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

Hide FormatId from format tab of data object in simplified profiles

parent 575a462dd815
......@@ -187,6 +187,14 @@ class BinaryDataObjectFormatIdentificationTab(tabs.PrimaryTab):
rsection, display_ctrl = rtags_from_xsd_element('SEDABinaryDataObject', 'FormatIdentification')
class SimplifiedBinaryDataObjectFormatIdentificationTab(BinaryDataObjectFormatIdentificationTab):
__select__ = BinaryDataObjectFormatIdentificationTab.__select__ & simplified_profile()
rsection, display_ctrl = rtags_from_xsd_element('SEDABinaryDataObject', 'FormatIdentification')
rsection.tag_object_of(('*', 'seda_format_id_from', 'SEDABinaryDataObject'), 'hidden')
class BinaryDataObjectFileInfoTab(tabs.PrimaryTab):
"""Display file information of a binary data object"""
......
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