Bug 24834: Display report number on editing or running a report
The only place the report ID was shown when editing or running a report was in the URL. With this patch, we also show it in the heading, the breadcrumbs and the page title. To test: - Create a new SQL report. - Save the report. - Edit the report. - Verify that the report id now shows in the breadcrumbs and page title. - Run your report. - Verify the report id shows in the page heading, title and breadcrumbs. Signed-off-by: Michael A <madamyk@ckls.org> Signed-off-by: Lisette Scheer <lisetteslatah@gmail.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
4dd798302a
commit
7f2e2a4dbd
|
|
@ -28,9 +28,9 @@
|
|||
[%- ELSIF ( showsql ) -%]
|
||||
› Saved reports › SQL view
|
||||
[%- ELSIF ( execute ) -%]
|
||||
› Saved reports › [% name | html %] Report
|
||||
› Saved reports › Report [% name | html %]
|
||||
[%- ELSIF ( editsql ) -%]
|
||||
› Saved reports › Edit SQL report
|
||||
› Saved reports › Edit report [% reportname | html %]
|
||||
[%- END -%]
|
||||
[%- IF ( build1 ) -%]
|
||||
› Build a report, step 1 of 6: Choose a module
|
||||
|
|
@ -75,9 +75,9 @@
|
|||
[% ELSIF ( showsql ) %]
|
||||
› <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports</a> › SQL view
|
||||
[% ELSIF ( editsql ) %]
|
||||
› <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports</a> › Edit SQL report
|
||||
› <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports</a> › Edit report <em>[% reportname | html %] ([% id | html %])</em>
|
||||
[% ELSIF ( execute ) %]
|
||||
› <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports</a> › <em>[% name | html %]</em> Report
|
||||
› <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports</a> › Report <em>[% name | html %] ([% id | html %])</em>
|
||||
[% ELSIF ( build1 || build2 || build3 || build4 || build5 || build6 ) %]
|
||||
› <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new">Build a report</a>
|
||||
[% IF ( build1 ) %]
|
||||
|
|
@ -838,7 +838,7 @@
|
|||
[% END # /IF ( enter_params ) %]
|
||||
|
||||
[% IF ( execute ) %]
|
||||
<h1>[% name | html %]</h1>
|
||||
<h1>[% name | html %] <span id="report_id">([% id %])</span></h1>
|
||||
[% IF ( notes ) %]
|
||||
<p><span class="label">Notes:</span> [% notes | html %]</p>
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue