Bug 12890 - Improve title and breadcrumbs when editing saved SQL report
authorOwen Leonard <oleonard@myacpl.org>
Mon, 8 Sep 2014 18:16:14 +0000 (14:16 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 18 Sep 2014 01:03:56 +0000 (22:03 -0300)
When editing an existing SQL report the page title and breadcrumbs are
incomplete:

Home > Reports > Guided reports wizard >

This patch corrects this.

To test, apply the patch and edit an existing SQL report. The page title
and breadcrumbs should be more complete:

Home > Reports > Guided reports wizard > Saved reports > Edit SQL report

Patch behves as expected
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt

index eebf086..05c6acb 100644 (file)
@@ -5,6 +5,7 @@
 [% ELSIF ( create ) %]&rsaquo; Create from SQL
 [% ELSIF ( showsql ) %]&rsaquo; Saved reports &rsaquo; SQL view
 [% ELSIF ( execute ) %]&rsaquo; Saved reports &rsaquo; [% name %] Report
+[% ELSIF ( editsql ) %]&rsaquo; Saved reports &rsaquo; Edit SQL report
 [% ELSIF ( buildx ) %]&rsaquo; Build a report, step [% buildx %] of 6:
 [% IF ( build1 ) %]Choose a module
 [% ELSIF ( build2 ) %]Pick a report type
@@ -220,6 +221,7 @@ $(document).ready(function(){
 [% IF ( saved1 ) %]Saved reports
 [% ELSIF ( create ) %]Create from SQL
 [% ELSIF ( showsql ) %]<a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports</a> &rsaquo; SQL view
+[% ELSIF ( editsql ) %]<a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports</a> &rsaquo; Edit SQL report
 [% ELSIF ( execute ) %]<a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports</a> &rsaquo; <em>[% name %]</em> Report
 [% ELSIF ( buildx ) %]<a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new">Build a report</a> &rsaquo; Step [% buildx %] of 6:
     [% IF ( build1 ) %]Choose a module