From a2f221278ee18efb0d871166b76ea5aaa30253d8 Mon Sep 17 00:00:00 2001
From: Owen Leonard
Date: Tue, 8 Mar 2016 14:40:02 -0500
Subject: [PATCH] Bug 16061 - Use Font Awesome icons in reports when filter
returns no results
Content-Type: text/plain; charset="utf-8"
In Reports -> Saved reports, when the filter form returns no results a
dialog is shown. This patch updates the dialog to use Font Awesome
icons.
Also changed: The dialog now includes a button for creating a new SQL
report, not just one to create a new guided report. The "clear" link in
the sidebar has been modified to pass HTML validation.
To test, apply the patch and go to Reports -> Saved reports.
- In the left-hand sidebar filter, submit terms which will return no
results.
- Verify that the resulting dialog is correctly styled.
- Confirm that all three buttons in the dialog work correctly: New
guided report, new SQL report, and Cancel.
---
.../prog/en/modules/reports/guided_reports_start.tt | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
index d766381..0a7d80f 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
@@ -378,14 +378,19 @@ canned reports and writing custom SQL reports.
[% IF ( CAN_user_reports_create_reports ) %]
+
+
[% END %]
@@ -1031,7 +1036,7 @@ Sub report: