Add "download row results as CSV" feature to master view
This commit is contained in:
parent
f338a03c97
commit
c95e2dbb06
5 changed files with 67 additions and 53 deletions
|
@ -40,9 +40,6 @@
|
|||
|
||||
<%def name="context_menu_items()">
|
||||
${parent.context_menu_items()}
|
||||
% if master.rows_downloadable and request.has_perm('{}.csv'.format(permission_prefix)):
|
||||
<li>${h.link_to("Download row data as CSV", url('{}.csv'.format(route_prefix), uuid=batch.uuid))}</li>
|
||||
% endif
|
||||
% if master.cloneable and request.has_perm('{}.clone'.format(permission_prefix)):
|
||||
<li>${h.link_to("Clone as new batch", url('{}.clone'.format(route_prefix), uuid=batch.uuid))}</li>
|
||||
% endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue