Various things to support "notes management" from person profile view
This commit is contained in:
parent
6749604210
commit
1ee76878d9
4 changed files with 100 additions and 40 deletions
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue