[PATCH 3 of 3 seda] [views] Hide seda_keyword_reference_to_scheme from scheme edit form

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


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1492079106 -7200
#      Thu Apr 13 12:25:06 2017 +0200
# Node ID c82265657b763c988691e31303124fce21d75f04
# Parent  78ea78713e347d9d7a99cbd4ec09c0c421c657c0
[views] Hide seda_keyword_reference_to_scheme from scheme edit form

consistently with the primary view.

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
@@ -50,10 +50,11 @@ pvs.tag_subject_of(('*', 'scheme_relatio
 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_object_of(('*', 'seda_keyword_reference_to_scheme', '*'), 'main', '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')
 pvs.tag_object_of(('*', 'code_keyword_type', '*'), 'hidden')


More information about the saem-devel mailing list