[uicfg] Small fixes in uicfg cubicweb-brainomics-version-0.11.0
authorVincent Michel <vincent.michel@logilab.fr>
Wed, 25 Jun 2014 14:12:09 +0000
changeset 1079 89fe1411da2b
parent 1078 b4ab50c50c04
child 1080 16ae0b9e1f50
[uicfg] Small fixes in uicfg
views/uicfg.py
--- a/views/uicfg.py	Wed Jun 25 14:11:39 2014 +0000
+++ b/views/uicfg.py	Wed Jun 25 14:12:09 2014 +0000
@@ -206,6 +206,9 @@
 _pvs.tag_subject_of(('Gene', 'chromosomes', '*'), 'attributes')
 _pvdc.tag_subject_of(('Gene', 'chromosomes', '*'),
                      {'vid': 'incontext', 'label': _('Chromosomes')})
+_pvs.tag_object_of(('Gene', 'chromosomes', 'Chromosome'), 'relations')
+_pvdc.tag_object_of(('Gene', 'chromosomes', 'Chromosome'),
+                     {'vid': 'list', 'label': _('Genes')})
 # CGH results
 _pvs.tag_object_of(('*', 'genes', 'Gene'), 'hidden')
 _pvdc.display_rset('Gene', 'relations',