src/pyams_zmi/control_panel.py
changeset 20 e9fa6f0422d8
parent 10 446671b704bb
child 27 c344bd9c2d06
equal deleted inserted replaced
19:92e1f675035c 20:e9fa6f0422d8
    68 class UtilitiesTable(BaseTable):
    68 class UtilitiesTable(BaseTable):
    69     """Utilities table"""
    69     """Utilities table"""
    70 
    70 
    71     id = 'utilities_table'
    71     id = 'utilities_table'
    72     title = _("Site utilities")
    72     title = _("Site utilities")
    73     cssClasses = {'table': 'table table-bordered table-striped table-hover table-tight datatable'}
       
    74 
    73 
    75     @property
    74     @property
    76     def data_attributes(self):
    75     def data_attributes(self):
    77         attributes = super(UtilitiesTable, self).data_attributes
    76         attributes = super(UtilitiesTable, self).data_attributes
    78         attributes['table'] = {'data-ams-location': absolute_url(self.context, self.request),
    77         attributes['table'] = {'data-ams-location': absolute_url(self.context, self.request),