From cd927c76877a22da8954e48af2a209d134926787 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Thu, 17 Mar 2016 22:34:08 +0000 Subject: [PATCH] [PASSED QA] Bug 15421: Show 'Duplicate' and 'Schedule' on Reports toolbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 --- .../intranet-tmpl/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 b7fa555..373df25 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 %] -- 1.9.1