From b3bdee60bb104f11dc828af4141d2f0359e9a4e7 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 28 Nov 2022 17:55:08 -0600 Subject: [PATCH] Add way to quickly re-run "any" report --- .../templates/reports/generated/view.mako | 22 +++++++++++++++++++ tailbone/views/reports.py | 22 +++++++++++++++++-- 2 files changed, 42 insertions(+), 2 deletions(-) diff --git a/tailbone/templates/reports/generated/view.mako b/tailbone/templates/reports/generated/view.mako index 496857c5..6260efba 100644 --- a/tailbone/templates/reports/generated/view.mako +++ b/tailbone/templates/reports/generated/view.mako @@ -1,6 +1,28 @@ ## -*- coding: utf-8; -*- <%inherit file="/master/view.mako" /> +<%def name="object_helpers()"> + % if master.has_perm('create'): + + % endif + + <%def name="modify_this_page_vars()"> ${parent.modify_this_page_vars()}