web/views/schema.py
changeset 10405 7b27a7443180
parent 9383 7b3fa5a7a5a3
child 10662 10942ed172de
child 10970 894c14f08380
--- a/web/views/schema.py	Wed Jun 03 12:36:31 2015 +0200
+++ b/web/views/schema.py	Tue Jun 16 00:26:55 2015 +0200
@@ -84,12 +84,13 @@
     """mixin providing methods to display security information for a entity,
     relation or relation definition schema
     """
+    cssclass = "listing schemaInfo"
 
     def permissions_table(self, erschema, permissions=None):
         self._cw.add_css('cubicweb.acl.css')
         w = self.w
         _ = self._cw._
-        w(u'<table class="listing schemaInfo">')
+        w(u'<table class="%s">' % self.cssclass)
         w(u'<tr><th>%s</th><th>%s</th><th>%s</th></tr>' % (
             _("permission"), _('granted to groups'), _('rql expressions')))
         for action in erschema.ACTIONS: