From 361b0350754a4910291db74722c588810c748a95 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 13 Jan 2024 22:26:03 +0000 Subject: [PATCH] Bug 35807: Update catalog statistics search form and result list This makes some small changes to the form to be more consistent with other parts of Koha: Search form * Koha full call number => Item call number * Filter barcode => Barcode Result list * The result table had a white background with a shadow. It was changed to the nromal "page-section" white background without a shadow/3D effect. To test: * Verify current layout as described above * Apply patch and run yarn build to update CSS * Verify changes --- .../prog/css/src/staff-global.scss | 1 - .../en/modules/reports/catalogue_stats.tt | 84 ++++++++++--------- 2 files changed, 43 insertions(+), 42 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index 44b3fd1946..d8ab0c57a4 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -1884,7 +1884,6 @@ li { } } -#catalogue_stats_wrapper, #tbl_cash_register_stats_wrapper, #resulttable_wrapper, #numberpatternst_wrapper { diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt index db8843e6f0..b112ed67f6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt @@ -53,48 +53,50 @@ [% END %] [% END %] - - - - - [% FOREACH loopco IN mainloo.loopcol %] - - [% END %] - - - - - [% FOREACH loopro IN mainloo.looprow %] +
+
[% mainloo.line | html %] / [% mainloo.column | html %][% loopco.coltitle | html %]TOTAL
+ - [% IF ( loopro.hilighted ) %] - [% FOREACH loopcel IN loopro.loopcell %] - [% IF ( loopcel.hilighted ) %] - [% END %] - [% IF ( loopro.hilighted ) %] + + [% FOREACH loopco IN mainloo.loopcol %] + + [% END %] + - [% END %] - - - - - [% FOREACH loopfoote IN mainloo.loopfooter %] - + + + [% FOREACH loopro IN mainloo.looprow %] + + [% IF ( loopro.hilighted ) %] + [% FOREACH loopcel IN loopro.loopcell %] + [% IF ( loopcel.hilighted ) %] + [% END %] + [% IF ( loopro.hilighted ) %] + [% END %] - - - -
[% ELSE %][% END %] - [% loopro.rowtitle | html %][% ELSE %][% END %] - [% IF ( loopcel.value ) %] - [% loopcel.value | html %] - [% ELSE %] -   - [% END %] - [% ELSE %][% END %] - [% loopro.totalrow | html %] - [% mainloo.line | html %] / [% mainloo.column | html %][% loopco.coltitle | html %]TOTAL
TOTAL (all results) - [% loopfoote.totalcol | html %] -
[% ELSE %][% END %] + [% loopro.rowtitle | html %][% ELSE %][% END %] + [% IF ( loopcel.value ) %] + [% loopcel.value | html %] + [% ELSE %] +   + [% END %] + [% ELSE %][% END %] + [% loopro.totalrow | html %] +
[% mainloo.total | html %]
+ + + + TOTAL (all results) + [% FOREACH loopfoote IN mainloo.loopfooter %] + + [% loopfoote.totalcol | html %] + + [% END %] + [% mainloo.total | html %] + + + + [% END %] [% ELSE %]
@@ -111,7 +113,7 @@ - Koha full call number + Item call number @@ -256,7 +258,7 @@ [% END %] - Filter barcode + Barcode