Formatting...
--- a/src/pyams_workflow/zmi/versions.py Wed Mar 28 16:05:15 2018 +0200
+++ b/src/pyams_workflow/zmi/versions.py Wed Apr 11 11:43:39 2018 +0200
@@ -66,12 +66,16 @@
@property
def data_attributes(self):
- return {'table': {'data-ams-datatable-global-filter': 'false',
- 'data-ams-datatable-info': 'false',
- 'data-ams-datatable-sort': 'false',
- 'data-ams-datatable-sdom': "t<'dt-row dt-bottom-row'<'text-right'p>>",
- 'data-ams-datatable-display-length': '20',
- 'data-ams-datatable-pagination-type': 'bootstrap_prevnext'}}
+ return {
+ 'table': {
+ 'data-ams-datatable-global-filter': 'false',
+ 'data-ams-datatable-info': 'false',
+ 'data-ams-datatable-sort': 'false',
+ 'data-ams-datatable-sdom': "t<'dt-row dt-bottom-row'<'text-right'p>>",
+ 'data-ams-datatable-display-length': '20',
+ 'data-ams-datatable-pagination-type': 'bootstrap_prevnext'
+ }
+ }
@adapter_config(context=(IWorkflowVersion, IPyAMSLayer, WorkflowVersionHistoryTable), provides=IValues)