[primary view] consider rtypevid flag for relations in the 'relations' section as well
--- a/web/views/primary.py Tue Aug 17 11:06:20 2010 +0200
+++ b/web/views/primary.py Tue Aug 17 15:22:04 2010 +0200
@@ -154,7 +154,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: