Add ability to download batch row data as CSV.
This commit is contained in:
parent
6c5eec7981
commit
73939b825e
3 changed files with 78 additions and 12 deletions
|
@ -13,6 +13,13 @@
|
|||
</script>
|
||||
</%def>
|
||||
|
||||
<%def name="context_menu_items()">
|
||||
${parent.context_menu_items()}
|
||||
% if request.has_perm('{0}.csv'.format(permission_prefix)):
|
||||
<li>${h.link_to("Download this {0} as CSV".format(batch_display), url('{0}.csv'.format(route_prefix), uuid=batch.uuid))}</li>
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
<%def name="buttons()">
|
||||
<div class="buttons">
|
||||
% if not form.readonly and batch.refreshable:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue