Bug 8373 - opacheader should not show in print layout
Summary: opacheader should not show in print layout
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Owen Leonard
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-05 14:21 UTC by Katrin Fischer
Modified: 2016-12-05 21:23 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2012-07-05 14:21:48 UTC
Example: Options to print lists or carts from the OPAC.

The contents of the opacheader system preference should not show up on the print layouts.
Comment 1 Marc Véron 2016-01-05 16:31:29 UTC
Tested on current master with opac-shelves.pl:

If I use the browser's print preview, it looks OK. If I use the icon 'print', the whole page is printed, including the contents of the opacheader system preference.
Comment 2 Owen Leonard 2016-02-17 18:08:32 UTC
(In reply to Marc Véron from comment #1)
> Tested on current master with opac-shelves.pl:
> 
> If I use the browser's print preview, it looks OK. If I use the icon
> 'print', the whole page is printed, including the contents of the opacheader
> system preference.

I can't reproduce this bug either way. The opacheader <div> is contained within the #header-region <div> which has a class of "noprint." Seems like you'd have to have a display property applied to #opacheader to override the "noprint" class to make it show up in a printout.