From a9d7292a103918ecddcfabc430ea07cdd3513148 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 --- .../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 b7fa5559b9..373df2532b 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 %] [% IF ( CAN_user_reports_create_reports ) %] @@ -34,6 +39,11 @@ Run report + [% END %] [% END %] -- 2.39.5