web/views/primary.py
changeset 6139 f76599a96238
parent 6094 c40652b93321
parent 6113 dbe17a3ebb9f
child 6140 65a619eb31c4
--- a/web/views/primary.py	Thu Aug 12 10:12:52 2010 +0200
+++ b/web/views/primary.py	Wed Aug 25 09:43:12 2010 +0200
@@ -160,7 +160,7 @@
 
     def render_entity_relations(self, entity):
         for rschema, tschemas, role, dispctrl in self._section_def(entity, 'relations'):
-            if rschema.final:
+            if rschema.final or dispctrl.get('rtypevid'):
                 self.w(u'<div class="section">')
                 label = self._rel_label(entity, rschema, role, dispctrl)
                 if label: