From 43958f570f9d462b94a9bc5a8c3bbd4834717484 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 9 May 2014 09:35:03 -0400 Subject: [PATCH] [PASSED QA] Bug 12214 [QA Followup] - Clean up reports-toolbar.inc, show Edit link when SQL has errors Signed-off-by: Kyle M Hall --- .../prog/en/includes/reports-toolbar.inc | 32 ++++++++++++++----- 1 files changed, 23 insertions(+), 9 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 782fc83..b7e7a79 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc @@ -1,17 +1,31 @@
- [% IF ( CAN_user_reports_create_reports ) %]
- + [% IF ( CAN_user_reports_create_reports ) %] + [% END %] -[% IF ( showsql || execute || editsql || save_successful ) %] - [% UNLESS ( errors ) %][%# Unless there are errors saving a report %] - [% UNLESS ( editsql ) %][%# Do not show edit button on edit page %] - [% IF ( CAN_user_reports_create_reports ) %][% END %] +
+ [% END %] + + [% IF ( showsql || execute || editsql || save_successful ) %] + [% UNLESS ( editsql ) # Do not show edit button on edit page %] + [% IF ( CAN_user_reports_create_reports ) %] + + [% END %] + [% END %] + + [% UNLESS ( errors ) # Unless there are errors saving a report %] + [% END %] - [% END %] -[% END %]
-- 1.7.2.5