web/views/startup.py
changeset 6855 84f600292b2e
parent 6041 31776723c0c5
child 6931 0af44a38fe41
equal deleted inserted replaced
6854:ffc982faa264 6855:84f600292b2e
   118                                 if uicfg.indexview_etype_section.get(eschema) == 'application')
   118                                 if uicfg.indexview_etype_section.get(eschema) == 'application')
   119         if manager:
   119         if manager:
   120             self.w(u'<tr><th colspan="4">%s</th></tr>\n' % self._cw._('system entities'))
   120             self.w(u'<tr><th colspan="4">%s</th></tr>\n' % self._cw._('system entities'))
   121             self.entity_types_table(eschema for eschema in schema.entities()
   121             self.entity_types_table(eschema for eschema in schema.entities()
   122                                 if uicfg.indexview_etype_section.get(eschema) == 'system')
   122                                 if uicfg.indexview_etype_section.get(eschema) == 'system')
   123             if 'CWAttribute' in schema: # check schema support
       
   124                 self.w(u'<tr><th colspan="4">%s</th></tr>\n' % self._cw._('schema entities'))
       
   125                 self.entity_types_table(eschema for eschema in schema.entities()
       
   126                                         if uicfg.indexview_etype_section.get(eschema) == 'schema')
       
   127         self.w(u'</table>')
   123         self.w(u'</table>')
   128 
   124 
   129     def entity_types_table(self, eschemas):
   125     def entity_types_table(self, eschemas):
   130         newline = 0
   126         newline = 0
   131         infos = sorted(self.entity_types(eschemas),
   127         infos = sorted(self.entity_types(eschemas),