Bugzilla – Attachment 129430 Details for
Bug 29876
Style report id in report results heading
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29876: Style report id in report results heading
Bug-29876-Style-report-id-in-report-results-headin.patch (text/plain), 2.50 KB, created by
Lucas Gass (lukeg)
on 2022-01-13 17:58:47 UTC
(
hide
)
Description:
Bug 29876: Style report id in report results heading
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2022-01-13 17:58:47 UTC
Size:
2.50 KB
patch
obsolete
>From 5dc98f23a495b8450f6e7f0677c2492a51d1d9e1 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 <lucas@bywatersolutions.com> >--- > 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 18bea35dba..84e2f1c458 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 ) %] >- <h1>[% name | html %] <span id="report_id">([% id | html %])</span></h1> >+ <h1>[% name | html %] <span class="report_heading_id"><span class="report_label">Report number:</span> <span class="report_number">[% id | html %]</span></span></h1> > [% IF ( notes ) %] > <p><span class="label">Notes:</span> [% notes | html %]</p> > [% END %] >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29876
:
129403
|
129404
|
129430
|
129973
|
130567