]> 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)
committerChris Cormack <chris@bigballofwax.co.nz>
Mon, 23 Mar 2015 07:32:53 +0000 (20:32 +1300)
commit1b92f5c21ca133930a4148bfc56fcbd9499c09aa
treec33b78dc274ee3f492f877ff693e82d48c69f568
parent2be314d9f0589d77477bfda9deeb0dec42c7cfe5
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>
(cherry picked from commit 21d05006c0f9cf6456fbf3d92c6a52378381f554)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Conflicts:
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt
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