hide final etype, don't display meta since it will soon disappear (eg in 3.4) stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 02 Jul 2009 10:19:41 +0200
branchstable
changeset 2227 21c9b63a4730
parent 2226 f5216e540168
child 2228 7e85d0169911
hide final etype, don't display meta since it will soon disappear (eg in 3.4)
web/views/startup.py
--- a/web/views/startup.py	Thu Jul 02 10:18:32 2009 +0200
+++ b/web/views/startup.py	Thu Jul 02 10:19:41 2009 +0200
@@ -195,15 +195,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, SecurityViewMixIn):