equal
deleted
inserted
replaced
166 |
166 |
167 class SchemaView(tabs.TabsMixin, StartupView): |
167 class SchemaView(tabs.TabsMixin, StartupView): |
168 id = 'schema' |
168 id = 'schema' |
169 title = _('application schema') |
169 title = _('application schema') |
170 tabs = [_('schema-text'), _('schema-image')] |
170 tabs = [_('schema-text'), _('schema-image')] |
171 default_tab = 'schema-image' |
171 default_tab = 'schema-text' |
172 |
172 |
173 def call(self): |
173 def call(self): |
174 """display schema information""" |
174 """display schema information""" |
175 self.req.add_js('cubicweb.ajax.js') |
175 self.req.add_js('cubicweb.ajax.js') |
176 self.req.add_css(('cubicweb.schema.css','cubicweb.acl.css')) |
176 self.req.add_css(('cubicweb.schema.css','cubicweb.acl.css')) |