]> git.koha-community.org Git - koha.git/commit
Bug 12399 - opaccredits printing at top on printable version
authorMarc Véron <veron@veron.ch>
Sat, 31 Jan 2015 16:41:08 +0000 (18:41 +0200)
committerMason James <mtj@kohaaloha.com>
Fri, 27 Mar 2015 04:09:53 +0000 (17:09 +1300)
commit9831eea959e3fcb9d3db103a6a8f2df367447e5c
tree84b0666429d84db342eda813b6f07d192a896f42
parentcde1966e08ee123ceeef8082915e0295b5deef60
Bug 12399 - opaccredits printing at top on printable version

This patch introduces a new class "noprint" in koha-tmpl/opac-tmpl/bootstrap/css/print.css
With this class, unwanted elements can be hidden when printing.

To test:
In OPAC, do a search with many results (> 1 Page)
Print page or do a print preview
See that footer elements are not displayed correctly (as of screenshot in comment #1) and that on top of page 2 the language selector overlays the list
Apply patch
Repeat steps above.
Verify that printed page looks much nicer now by hiding unwanted elements (including e.g. RSS icon, toolbar etc.)

This mechanism can be used on other pages as well.

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Mason James <mtj@kohaaloha.com>
koha-tmpl/opac-tmpl/bootstrap/css/print.css
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc
koha-tmpl/opac-tmpl/bootstrap/en/includes/page-numbers.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt