From 8695bfbb6cf896227ff07ca5cbb6bd3a3de7d5fe Mon Sep 17 00:00:00 2001 From: Aleisha Date: Thu, 17 Mar 2016 22:34:08 +0000 Subject: [PATCH] Bug 15421: Show 'Duplicate' and 'Schedule' on Reports toolbar MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit To test: 1) Go to Reports -> Use saved 2) Click 'Show' on the dropdown for any report 3) Confirm that 'Duplicate and 'Schedule' are now on the toolbar and work as expected Sponsored-by: Catalyst IT Signed-off-by: Marc Véron Signed-off-by: Katrin Fischer Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com (cherry picked from commit a9d7292a103918ecddcfabc430ea07cdd3513148) Signed-off-by: Julian Maurice --- .../prog/en/includes/reports-toolbar.inc | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc index 9933d3c3c3..36be0d3092 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc @@ -10,14 +10,19 @@ [% END %] [% IF ( showsql || execute || editsql || save_successful ) %] - [% UNLESS ( editsql ) # Do not show edit button on edit page %] - [% IF ( CAN_user_reports_create_reports ) %] + [% IF ( CAN_user_reports_create_reports ) %] + [% UNLESS ( editsql ) # Do not show edit button on edit page %] [% END %] + [% END %] [% UNLESS ( errors ) # Unless there are errors saving a report %] @@ -26,6 +31,11 @@ Run report + [% END %] [% END %] -- 2.20.1