From fadf54042282b5f872e3c02e9d23a0440e00157b Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 8 May 2019 13:00:09 -0500 Subject: [PATCH] Allow choosing report from simple list, when generating new refs #6619 --- tailbone/templates/reports/choose.mako | 24 ++++++++++++++++++++++++ tailbone/views/reports.py | 2 ++ 2 files changed, 26 insertions(+) diff --git a/tailbone/templates/reports/choose.mako b/tailbone/templates/reports/choose.mako index 79cb7baa..f6cf7d9c 100644 --- a/tailbone/templates/reports/choose.mako +++ b/tailbone/templates/reports/choose.mako @@ -31,10 +31,21 @@ <%def name="extra_styles()"> @@ -48,6 +59,7 @@
+ % if use_form:

Please select the type of report you wish to generate.

@@ -57,6 +69,18 @@
+ % else: +
+

Please select the type of report you wish to generate.

+ +
+ % for key, report in reports.items(): +

${h.link_to(report.name, url('generate_specific_report', type_key=key))}

+

${report.__doc__}

+ % endfor +
+
+ % endif