web/views/startup.py
changeset 2234 1fbcf202882d
parent 2181 94ca417b9b07
parent 2227 21c9b63a4730
child 2293 7ded2a1416e4
--- a/web/views/startup.py	Mon Jun 29 14:12:18 2009 +0200
+++ b/web/views/startup.py	Thu Jul 02 10:35:03 2009 +0200
@@ -194,15 +194,9 @@
     id = 'schema-text'
 
     def call(self):
-        self.w(u'<p>%s</p>' % _('This is the list of types defined in the data '
-                                'model ofin this application.'))
-        self.w(u'<p>%s</p>' % _('<em>meta</em> is True for types that are defined by the '
-                                'framework itself (e.g. User and Group). '
-                                '<em>final</em> is True for types that can not be the '
-                                'subject of a relation (e.g. Int and String).'))
-        rset = self.req.execute('Any X,M,F ORDERBY N WHERE X is CWEType, X name N, '
-                                'X meta M, X final F')
-        self.wview('editable-table', rset, displayfilter=True)
+        rset = self.req.execute('Any X ORDERBY N WHERE X is CWEType, X name N, '
+                                'X final FALSE')
+        self.wview('table', rset, displayfilter=True)
 
 
 class ManagerSchemaPermissionsView(StartupView, management.SecurityViewMixIn):