From eaf01bac1ad3ab4b8153b0f2a6b834f6b4803051 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 21 Sep 2020 12:46:48 +0000 Subject: [PATCH] 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. --- .../prog/en/modules/reports/guided_reports_start.tt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt index 153d7b7ced..8cbc59f4b2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -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 ) %] › Saved reports › SQL view [% ELSIF ( editsql ) %] - › Saved reports › Edit SQL report + › Saved reports › Edit report [% reportname | html %] ([% id | html %]) [% ELSIF ( execute ) %] - › Saved reports[% name | html %] Report + › Saved reports › Report [% name | html %] ([% id | html %]) [% ELSIF ( build1 || build2 || build3 || build4 || build5 || build6 ) %] › Build a report [% IF ( build1 ) %] @@ -838,7 +838,7 @@ [% END # /IF ( enter_params ) %] [% IF ( execute ) %] -

[% name | html %]

+

[% name | html %] ([% id %])

[% IF ( notes ) %]

Notes: [% notes | html %]

[% END %] -- 2.11.0