From 0483f47b26b9f0e810429b3b9ce9c56e5541dabd Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 2 Mar 2020 18:11:13 -0600 Subject: [PATCH] Add support for refreshing multiple batches (results) at once --- tailbone/templates/batch/index.mako | 48 ++++++++++++++++++--- tailbone/views/batch/core.py | 66 +++++++++++++++++++++++++++++ 2 files changed, 108 insertions(+), 6 deletions(-) diff --git a/tailbone/templates/batch/index.mako b/tailbone/templates/batch/index.mako index 5e6d0318..21e3d7aa 100644 --- a/tailbone/templates/batch/index.mako +++ b/tailbone/templates/batch/index.mako @@ -4,7 +4,7 @@ <%def name="extra_javascript()"> ${parent.extra_javascript()} % if not use_buefy: - % if master.results_executable and request.has_perm('{}.execute_multiple'.format(permission_prefix)): + % if master.results_executable and master.has_perm('execute_multiple'):