Various things to support "notes management" from person profile view

This commit is contained in:
Lance Edgar 2019-06-06 13:49:59 -05:00
parent 6749604210
commit 1ee76878d9
4 changed files with 100 additions and 40 deletions

View file

@ -1272,12 +1272,14 @@ class GridAction(object):
'actions' column when rendering the grid.
"""
def __init__(self, key, label=None, url='#', icon=None, target=None):
def __init__(self, key, label=None, url='#', icon=None, target=None,
click_handler=None):
self.key = key
self.label = label or prettify(key)
self.icon = icon
self.url = url
self.target = target
self.click_handler = click_handler
def get_url(self, row, i):
"""