Add actions column in utilities view table
authorThierry Florac <tflorac@ulthar.net>
Wed, 04 Mar 2015 00:07:41 +0100
changeset 4 0ff044965637
parent 3 b284b151f292
child 5 cbd687476ed5
Add actions column in utilities view table
src/pyams_zmi/control_panel.py
--- a/src/pyams_zmi/control_panel.py	Tue Mar 03 16:53:26 2015 +0100
+++ b/src/pyams_zmi/control_panel.py	Wed Mar 04 00:07:41 2015 +0100
@@ -18,6 +18,7 @@
 
 # import interfaces
 from pyams_skin.interfaces import IInnerPage, IPageHeader, IContentHelp
+from pyams_skin.interfaces.container import ITableWithActions
 from pyams_skin.layer import IPyAMSLayer
 from pyams_utils.interfaces.site import IOptionalUtility
 from pyams_zmi.interfaces.menu import IControlPanelMenu, IUtilitiesMenu
@@ -61,6 +62,7 @@
     url = '#utilities.html'
 
 
+@implementer(ITableWithActions)
 class UtilitiesTable(BaseTable):
     """Utilities table"""