[ui] Don't show schema relation/entity type related to a concept scheme. Closes #14157254
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 08 Jul 2016 13:51:03 +0200
changeset 1372 187b2c8dd288
parent 1371 f446c9a1c147
child 1404 2be8a24cef91
[ui] Don't show schema relation/entity type related to a concept scheme. Closes #14157254
views/__init__.py
--- a/views/__init__.py	Fri Jul 08 13:45:16 2016 +0200
+++ b/views/__init__.py	Fri Jul 08 13:51:03 2016 +0200
@@ -38,6 +38,9 @@
 afs.tag_object_of(('*', 'container', '*'), 'main', 'hidden')
 affk.tag_attribute(('Agent', 'name'), {'widget': fw.TextInput({'size': 80})})
 
+pvs.tag_subject_of(('*', 'scheme_relation_type', '*'), 'hidden')
+pvs.tag_subject_of(('*', 'scheme_entity_type', '*'), 'hidden')
+
 
 def rtags_from_xsd_element(etype, element_name):
     """Return primary view section and display control rtags, generated from information in the XSD