Fix "touch" url for non-standard record types
This commit is contained in:
parent
aa37fc3add
commit
d48a92c88d
|
@ -69,7 +69,7 @@
|
||||||
<li>${h.link_to("Clone this as new {}".format(model_title), url('{}.clone'.format(route_prefix), uuid=instance.uuid))}</li>
|
<li>${h.link_to("Clone this as new {}".format(model_title), url('{}.clone'.format(route_prefix), uuid=instance.uuid))}</li>
|
||||||
% endif
|
% endif
|
||||||
% if master.touchable and request.has_perm('{}.touch'.format(permission_prefix)):
|
% if master.touchable and request.has_perm('{}.touch'.format(permission_prefix)):
|
||||||
<li>${h.link_to("\"Touch\" this {}".format(model_title), url('{}.touch'.format(route_prefix), uuid=instance.uuid))}</li>
|
<li>${h.link_to("\"Touch\" this {}".format(model_title), master.get_action_url('touch', instance))}</li>
|
||||||
% endif
|
% endif
|
||||||
% if not use_buefy and master.has_rows and master.rows_downloadable_csv and master.has_perm('row_results_csv'):
|
% if not use_buefy and master.has_rows and master.rows_downloadable_csv and master.has_perm('row_results_csv'):
|
||||||
<li>${h.link_to("Download row results as CSV", master.get_action_url('row_results_csv', instance))}</li>
|
<li>${h.link_to("Download row results as CSV", master.get_action_url('row_results_csv', instance))}</li>
|
||||||
|
|
Loading…
Reference in a new issue