From dc1f613bc2a068bdaaf0a52be2455d23adfb8cb8 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 28 Sep 2020 13:23:01 -0500 Subject: [PATCH] Fix "refresh results" for batches, in Buefy theme --- tailbone/templates/batch/index.mako | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/tailbone/templates/batch/index.mako b/tailbone/templates/batch/index.mako index 5070c46e..8d54facc 100644 --- a/tailbone/templates/batch/index.mako +++ b/tailbone/templates/batch/index.mako @@ -81,10 +81,15 @@ % if master.results_refreshable and master.has_perm('refresh'): % if use_buefy: - Refresh Results + :disabled="refreshResultsButtonDisabled" + icon-pack="fas" + icon-left="fas fa-redo" + @click="refreshResults()"> + {{ refreshResultsButtonText }} + ${h.form(url('{}.refresh_results'.format(route_prefix)), ref='refreshResultsForm')} + ${h.csrf_token(request)} + ${h.end_form()} % else: