web/views/debug.py
branchstable
changeset 4721 8f63691ccb7f
parent 4714 fccda6dd91bf
child 4723 77bec4c4775a
equal deleted inserted replaced
4720:ddf4f19eb07a 4721:8f63691ccb7f
   120         self.w(u'<h1>%s</h1>' % _("Registry's content"))
   120         self.w(u'<h1>%s</h1>' % _("Registry's content"))
   121         keys = sorted(self._cw.vreg)
   121         keys = sorted(self._cw.vreg)
   122         self.w(u'<p>%s</p>\n' % ' - '.join('<a href="/_registry#%s">%s</a>'
   122         self.w(u'<p>%s</p>\n' % ' - '.join('<a href="/_registry#%s">%s</a>'
   123                                            % (key, key) for key in keys))
   123                                            % (key, key) for key in keys))
   124         for key in keys:
   124         for key in keys:
   125             self.w(u'<h2><a name="%s">%s</a></h2>' % (key,key))
   125             self.w(u'<h2><a name="%s">%s</a></h2>' % (key, key))
   126             items = self._cw.vreg[key].items()
   126             items = self._cw.vreg[key].items()
   127             if items:
   127             if items:
   128                 self.w(u'<table><tbody>')
   128                 self.w(u'<table><tbody>')
   129                 for key, value in sorted(items):
   129                 for key, value in sorted(items):
   130                     self.w(u'<tr><td>%s</td><td>%s</td></tr>'
   130                     self.w(u'<tr><td>%s</td><td>%s</td></tr>'