Formatting...
authorThierry Florac <thierry.florac@onf.fr>
Wed, 11 Apr 2018 11:43:39 +0200
changeset 64 e19b3b60f4fd
parent 63 66d25a5fa1d3
child 65 d272d5dc4cb7
Formatting...
src/pyams_workflow/zmi/versions.py
--- 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)