--- a/app/soc/logic/lists.py Thu Mar 05 19:21:43 2009 +0000
+++ b/app/soc/logic/lists.py Thu Mar 05 21:38:18 2009 +0000
@@ -140,6 +140,13 @@
return self._row_data
+ def info(self):
+ """Returns additional info on the current row item in the current list.
+ """
+
+ action, args = self.get('info')
+ return action(self._row_data, args)
+
def redirect(self):
"""Returns the redirect for the current row item in the current list.
"""
--- a/app/soc/views/helper/params.py Thu Mar 05 19:21:43 2009 +0000
+++ b/app/soc/views/helper/params.py Thu Mar 05 21:38:18 2009 +0000
@@ -250,6 +250,7 @@
new_params['list_params'] = {
'list_action': 'action',
'list_description': 'description',
+ 'list_info': 'info',
'list_main': 'main',
'list_pagination': 'pagination',
'list_row': 'row',