equal
deleted
inserted
replaced
302 def render_entity_attributes(self, entity): |
302 def render_entity_attributes(self, entity): |
303 super(CWETypeDescriptionTab, self).render_entity_attributes(entity) |
303 super(CWETypeDescriptionTab, self).render_entity_attributes(entity) |
304 _ = self._cw._ |
304 _ = self._cw._ |
305 # inheritance |
305 # inheritance |
306 if entity.specializes: |
306 if entity.specializes: |
307 self.w(u'<div>%s' % _('Parent classes:')) |
307 self.w(u'<div>%s' % _('Parent class:')) |
308 self.wview('csv', entity.related('specializes', 'subject')) |
308 self.wview('csv', entity.related('specializes', 'subject')) |
309 self.w(u'</div>') |
309 self.w(u'</div>') |
310 if entity.reverse_specializes: |
310 if entity.reverse_specializes: |
311 self.w(u'<div>%s' % _('Sub-classes:')) |
311 self.w(u'<div>%s' % _('Sub-classes:')) |
312 self.wview('csv', entity.related('specializes', 'object')) |
312 self.wview('csv', entity.related('specializes', 'object')) |