[PATCH 2 of 3 seda] [views] For now, hide meta relation linking vocabularies to schema types

Sylvain Thenault sylvain.thenault at logilab.fr
Thu Apr 13 12:25:55 CEST 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1492079061 -7200
#      Thu Apr 13 12:24:21 2017 +0200
# Node ID 78ea78713e347d9d7a99cbd4ec09c0c421c657c0
# Parent  b46445e3a026f527a5e0b11ac7385c3255654580
[views] For now, hide meta relation linking vocabularies to schema types

This is used for internals and is not yet ready to be exposed to admin.

diff --git a/cubicweb_seda/views/__init__.py b/cubicweb_seda/views/__init__.py
--- a/cubicweb_seda/views/__init__.py
+++ b/cubicweb_seda/views/__init__.py
@@ -45,11 +45,14 @@ pvs.tag_subject_of(('*', 'container', '*
 pvs.tag_object_of(('*', 'container', '*'), 'hidden')
 afs.tag_subject_of(('*', 'container', '*'), 'main', 'hidden')
 afs.tag_object_of(('*', 'container', '*'), 'main', 'hidden')
 
 pvs.tag_subject_of(('*', 'scheme_relation_type', '*'), 'hidden')
+afs.tag_subject_of(('*', 'scheme_relation_type', '*'), 'main', 'hidden')
 pvs.tag_subject_of(('*', 'scheme_entity_type', '*'), 'hidden')
+afs.tag_subject_of(('*', 'scheme_entity_type', '*'), 'main', 'hidden')
+
 pvs.tag_object_of(('*', 'seda_keyword_reference_to_scheme', '*'), 'hidden')
 
 afs.tag_subject_of(('*', 'code_keyword_type', '*'), 'main', 'attributes')
 pvs.tag_subject_of(('*', 'code_keyword_type', '*'), 'attributes')
 afs.tag_object_of(('*', 'code_keyword_type', '*'), 'main', 'hidden')


More information about the saem-devel mailing list