View | Details | Raw Unified | Return to bug 15366
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-29 / +28 lines)
Lines 12-33 Link Here
12
[%- END -%]
12
[%- END -%]
13
13
14
[% INCLUDE 'doc-head-open.inc' %]
14
[% INCLUDE 'doc-head-open.inc' %]
15
<title>Koha &rsaquo; Reports &rsaquo; Guided reports wizard
15
16
[% IF ( saved1 ) %]&rsaquo; Saved reports
16
<title>Koha &rsaquo; Reports &rsaquo; Guided reports wizard [%- IF ( saved1 ) -%]&rsaquo; Saved reports
17
[% ELSIF ( create ) %]&rsaquo; Create from SQL
17
[%- ELSIF ( create ) -%]&rsaquo; Create from SQL
18
[% ELSIF ( showsql ) %]&rsaquo; Saved reports &rsaquo; SQL view
18
[%- ELSIF ( showsql ) -%]&rsaquo; Saved reports &rsaquo; SQL view
19
[% ELSIF ( execute ) %]&rsaquo; Saved reports &rsaquo; [% name %] Report
19
[%- ELSIF ( execute ) -%]&rsaquo; Saved reports &rsaquo; [% name %] Report
20
[% ELSIF ( editsql ) %]&rsaquo; Saved reports &rsaquo; Edit SQL report
20
[%- ELSIF ( editsql ) -%]&rsaquo; Saved reports &rsaquo; Edit SQL report
21
[% ELSIF ( buildx ) %]&rsaquo; Build a report, step [% buildx %] of 6:
21
[%- END -%]
22
[% IF ( build1 ) %]Choose a module
22
[%- IF ( build1 ) -%]&rsaquo; Build a report, step 1 of 6: Choose a module
23
[% ELSIF ( build2 ) %]Pick a report type
23
[%- ELSIF ( build2 ) -%]&rsaquo; Build a report, step 2 of 6: Pick a report type
24
[% ELSIF ( build3 ) %]Select columns for display
24
[%- ELSIF ( build3 ) -%]&rsaquo; Build a report, step 3 of 6: Select columns for display
25
[% ELSIF ( build4 ) %]Select criteria to limit on
25
[%- ELSIF ( build4 ) -%]&rsaquo; Build a report, step 4 of 6: Select criteria to limit on
26
[% ELSIF ( build5 ) %]Pick which columns to total
26
[%- ELSIF ( build5 ) -%]&rsaquo; Build a report, step 5 of 6: Pick which columns to total
27
[% ELSIF ( build6 ) %]Select how you want the report ordered
27
[%- ELSIF ( build6 ) -%]&rsaquo; Build a report, step 6 of 6: Select how you want the report ordered
28
[% END %]
28
[%- END -%]</title>
29
[% END %]
29
30
</title>
31
[% INCLUDE 'doc-head-close.inc' %]
30
[% INCLUDE 'doc-head-close.inc' %]
32
[% INCLUDE 'calendar.inc' %]
31
[% INCLUDE 'calendar.inc' %]
33
<style type="text/css">
32
<style type="text/css">
Lines 226-244 $(document).ready(function(){ Link Here
226
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a>
225
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a>
227
&rsaquo; <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
226
&rsaquo; <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
228
&rsaquo; <a href="/cgi-bin/koha/reports/guided_reports.pl">Guided reports wizard</a>
227
&rsaquo; <a href="/cgi-bin/koha/reports/guided_reports.pl">Guided reports wizard</a>
229
&rsaquo; 
228
230
[% IF ( saved1 ) %]Saved reports
229
[% IF ( saved1 ) %]&rsaquo; Saved reports
231
[% ELSIF ( create ) %]Create from SQL
230
[% ELSIF ( create ) %]&rsaquo; Create from SQL
232
[% ELSIF ( showsql ) %]<a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports</a> &rsaquo; SQL view
231
[% ELSIF ( showsql ) %]&rsaquo; <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports</a> &rsaquo; SQL view
233
[% ELSIF ( editsql ) %]<a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports</a> &rsaquo; Edit SQL report
232
[% ELSIF ( editsql ) %]&rsaquo; <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports</a> &rsaquo; Edit SQL report
234
[% ELSIF ( execute ) %]<a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports</a> &rsaquo; <em>[% name %]</em> Report
233
[% ELSIF ( execute ) %]&rsaquo; <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports</a> &rsaquo; <em>[% name %]</em> Report
235
[% ELSIF ( buildx ) %]<a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new">Build a report</a> &rsaquo; Step [% buildx %] of 6:
234
[% ELSIF ( build1 || build2 || build3 || build4 || build5 || build6 ) %]&rsaquo; <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new">Build a report</a>
236
    [% IF ( build1 ) %]Choose a module
235
    [% IF ( build1 ) %]&rsaquo; Step 1 of 6: Choose a module
237
    [% ELSIF ( build2 ) %]Pick a report type
236
    [% ELSIF ( build2 ) %]&rsaquo; Step 2 of 6: Pick a report type
238
    [% ELSIF ( build3 ) %]Select columns for display
237
    [% ELSIF ( build3 ) %]&rsaquo; Step 3 of 6: Select columns for display
239
    [% ELSIF ( build4 ) %]Select criteria to limit on
238
    [% ELSIF ( build4 ) %]&rsaquo; Step 4 of 6: Select criteria to limit on
240
    [% ELSIF ( build5 ) %]Pick which columns to total
239
    [% ELSIF ( build5 ) %]&rsaquo; Step 5 of 6: Pick which columns to total
241
    [% ELSIF ( build6 ) %]Select how you want the report ordered
240
    [% ELSIF ( build6 ) %]&rsaquo; Step 6 of 6: Select how you want the report ordered
242
    [% END %]
241
    [% END %]
243
[% END %]
242
[% END %]
244
</div>
243
</div>
(-)a/reports/guided_reports.pl (-2 / +1 lines)
Lines 954-960 sub header_cell_loop { Link Here
954
}
954
}
955
955
956
foreach (1..6) {
956
foreach (1..6) {
957
     $template->{VARS}->{'build' . $_} and $template->{VARS}->{'buildx' . $_} and last;
957
     $template->{VARS}->{'build' . $_} and last;
958
}
958
}
959
$template->param(   'referer' => $input->referer(),
959
$template->param(   'referer' => $input->referer(),
960
                );
960
                );
961
- 

Return to bug 15366