web/views/startup.py
changeset 3457 0924d0d08d60
parent 3451 6b46d73823f5
child 3460 e4843535db25
equal deleted inserted replaced
3456:1a63a252601f 3457:0924d0d08d60
    72         self.w(u'<h4>%s</h4>\n' % self._cw._('Startup views'))
    72         self.w(u'<h4>%s</h4>\n' % self._cw._('Startup views'))
    73         self.startupviews_table()
    73         self.startupviews_table()
    74 
    74 
    75     def startupviews_table(self):
    75     def startupviews_table(self):
    76         for v in self._cw.vreg['views'].possible_views(self._cw, None):
    76         for v in self._cw.vreg['views'].possible_views(self._cw, None):
    77             if v.category != 'startupview' or v.id in ('index', 'tree', 'manage'):
    77             if v.category != 'startupview' or v.__regid__ in ('index', 'tree', 'manage'):
    78                 continue
    78                 continue
    79             self.w('<p><a href="%s">%s</a></p>' % (
    79             self.w('<p><a href="%s">%s</a></p>' % (
    80                 xml_escape(v.url()), xml_escape(self._cw._(v.title).capitalize())))
    80                 xml_escape(v.url()), xml_escape(self._cw._(v.title).capitalize())))
    81 
    81 
    82     def entities(self):
    82     def entities(self):