[Koha-patches] [PATCH] Bug 5665: Routing slip prints too wide for narrow printers

Colin Campbell colin.campbell at ptfs-europe.com
Mon Jan 31 11:14:08 CET 2011


From: Reed Wade <reed at catalyst.net.nz>

This patch switches off some min-width styling which causes right hand
of page to be clipped.

Work sponsored by Opus

Signed-off-by: Colin Campbell <colin.campbell at ptfs-europe.com>
---
 .../en/modules/serials/routing-preview-slip.tmpl   |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview-slip.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview-slip.tmpl
index d55ec74..3180337 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview-slip.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview-slip.tmpl
@@ -4,7 +4,10 @@
 
 <style type="text/css">
    #custom-doc { width:38.46em;*width:37.53em;min-width:500px; margin:auto; text-align:left; }
-   </style>
+</style>
+<style type="text/css" media="print">
+   .yui-t7, #custom-doc { min-width:0; width:auto; }
+</style>
 </head>
 <body>
 
@@ -25,7 +28,7 @@
 </table>
 <p><b>Notes:</b> Please return this item promptly as others are waiting for it.
 <br /><!-- TMPL_VAR NAME="routingnotes" --></p>
-   <div id="slip-block-links">
+   <div id="slip-block-links" class="noprint">
    <a class="button" href="javascript:window.print();self.close()">Print</a> &nbsp; <a class="button" href="javascript:self.close()">Close</a>
    </div>
 
-- 
1.7.3.5



More information about the Koha-patches mailing list