From 04b6b4ae727c8e2c025c75fba3dd59255ee26926 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 19 Jul 2013 12:21:42 -0400 Subject: [PATCH] Bug 10586: fix CSS styling when printing cart from Firefox When printing the Cart from Firefox the styling is off even though it looks correct in preview. I think this may be because the preview is including stylesheets designated for screen. This patch removes special handling of JS and CSS assets for the Cart's print view, letting the page handle print styling like other pages in the OPAC. To test, put items in your Cart in the OPAC. Open your Cart and click the "print" link. Your printout should be correctly styled and match the preview. Signed-off-by: Liz Rea Tested both fail condition and condition with patch - display is much improved. Thanks, Owen! Signed-off-by: Chris Cormack Works as advertised Signed-off-by: Galen Charlton --- koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt index 1ca4e9f7b8..5f79ac0bc6 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt @@ -2,11 +2,8 @@ [% INCLUDE 'doc-head-open.inc' %] [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Your cart - [% IF ( print_basket ) %] - - - - +[% INCLUDE 'doc-head-close.inc' %] + [% IF ( print_basket ) %] - - [% ELSE %][% INCLUDE 'doc-head-close.inc' %] + [% ELSE %]