From 0a819572bdedb7fda8ea2e8180e1788e06556f0b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 11 Oct 2021 14:57:17 +0000 Subject: [PATCH] Bug 29876: Style report id in report results heading This patch makes minor changes to the template and adds some CSS to style the report id portion of the page heading. To test, apply the patch and go to Reports -> Saved SQL reports. - Run any report. - On the results page, confirm that the report id portion of the page heading is styled and labeled "Report number." Signed-off-by: Lucas Gass Signed-off-by: Katrin Fischer Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/css/reports.css | 26 ++++++++++++++++++- .../modules/reports/guided_reports_start.tt | 2 +- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/reports.css b/koha-tmpl/intranet-tmpl/prog/css/reports.css index ef60a95adc..86e79a764c 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/reports.css +++ b/koha-tmpl/intranet-tmpl/prog/css/reports.css @@ -95,4 +95,28 @@ fieldset.rows .chart-column-conf label { #makechart select { max-width: 12em; -} \ No newline at end of file +} + +.report_heading_id { + background-color: #F3F3F3; + border: 1px solid #DDD; + border-radius: 5px; + display: inline-block; + font-size: 1.2rem; + font-weight: normal; + margin-left: .5em; + white-space: nowrap; +} + +.report_heading_id .report_label { + display: inline-block; + padding: .5em; + padding-right: 0; +} + +.report_heading_id .report_number { + display: inline-block; + font-weight: bold; + padding: .5em; + padding-left: 0; +} 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 f76a692e29..839a78d4b5 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 @@ -899,7 +899,7 @@ [% END # /IF ( enter_params ) %] [% IF ( execute ) %] -

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

+

[% name | html %] Report number: [% id | html %]

[% IF ( notes ) %]

Notes: [% notes | html %]

[% END %] -- 2.20.1