[PATCH 1 of 2 skos] Add an uicfg rule which is not automatically defined with cw 3.25

Sylvain Thenault sylvain.thenault at logilab.fr
Thu Mar 30 18:39:12 CEST 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1490875868 -7200
#      Thu Mar 30 14:11:08 2017 +0200
# Node ID 5982de98291d730dee6497c4fbbb8a4e951ca23a
# Parent  632c71a7046231ee27316da6d70b3d6a4c011d89
Add an uicfg rule which is not automatically defined with cw 3.25

but was randomly defined previously

diff --git a/views/__init__.py b/views/__init__.py
--- a/views/__init__.py
+++ b/views/__init__.py
@@ -74,10 +74,11 @@ afs.tag_object_of(('Concept', 'broader_c
 afs.tag_subject_of(('Concept', 'narrower_concept', 'Concept'), 'main', 'hidden')
 afs.tag_object_of(('Concept', 'narrower_concept', 'Concept'), 'main', 'hidden')
 for label_type in ('preferred', 'alternative', 'hidden'):
     afs.tag_subject_of(('*', '%s_label' % label_type, '*'), 'main', 'hidden')
 afs.tag_object_of(('*', 'label_of', '*'), 'main', 'inlined')
+afs.tag_subject_of(('*', 'label_of', '*'), 'inlined', 'hidden')
 affk.set_field_kwargs('Label', 'label', widget=fw.TextInput({'size': 80}))
 
 # clickable cwuri in primary views
 pvdc = uicfg.primaryview_display_ctrl
 pvdc.tag_attribute(('*', 'cwuri'), {'vid': 'urlattr'})


More information about the saem-devel mailing list