]> 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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Sun, 15 Mar 2015 12:09:45 +0000 (09:09 -0300)
commit21d05006c0f9cf6456fbf3d92c6a52378381f554
tree08b61cc79431b20488595742d1b0a4307d4bf917
parentcb9e57cfe0b224633d122dc99db7d944341907b5
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: Tomas Cohen Arazi <tomascohen@gmail.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