From 248eecd183d541b32ef84d085c494efa85e535ed 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. Signed-off-by: Michael A Signed-off-by: Lisette Scheer Signed-off-by: Martin Renvoize --- .../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 c92785e81e..2a6c5b80fd 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