Add basic support for cloning batches
For now only label batches support this by default
This commit is contained in:
parent
b14feae0c1
commit
c2a189cb40
3 changed files with 21 additions and 0 deletions
|
@ -33,6 +33,9 @@
|
|||
% 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
|
||||
</%def>
|
||||
|
||||
<%def name="buttons()">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue