From d48a92c88d3019f226022c70e4dda16aa51ed443 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 4 Apr 2022 13:56:27 -0500 Subject: [PATCH] Fix "touch" url for non-standard record types --- tailbone/templates/master/view.mako | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/templates/master/view.mako b/tailbone/templates/master/view.mako index b311a14a..4ede63dc 100644 --- a/tailbone/templates/master/view.mako +++ b/tailbone/templates/master/view.mako @@ -69,7 +69,7 @@
  • ${h.link_to("Clone this as new {}".format(model_title), url('{}.clone'.format(route_prefix), uuid=instance.uuid))}
  • % endif % if master.touchable and request.has_perm('{}.touch'.format(permission_prefix)): -
  • ${h.link_to("\"Touch\" this {}".format(model_title), url('{}.touch'.format(route_prefix), uuid=instance.uuid))}
  • +
  • ${h.link_to("\"Touch\" this {}".format(model_title), master.get_action_url('touch', instance))}
  • % endif % if not use_buefy and master.has_rows and master.rows_downloadable_csv and master.has_perm('row_results_csv'):
  • ${h.link_to("Download row results as CSV", master.get_action_url('row_results_csv', instance))}