06a8b6f314
This commit adds wrapping styles to print-notices.tt template Test plan: * place a hold on a title with a very very long title or author * mark it as "waiting for pickup" by doing a checkin * go to command line interface, and run * misc/cronjobs/gather_print_notices.pl /tmp * misc/cronjobs/printoverdues.sh /tmp * if your title/author is long enough, it's split on 2 lines with this patch (it is not before this patch) Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
25 lines
775 B
Text
25 lines
775 B
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Print Notices for [% today %]</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<style type="text/css">
|
|
<!--
|
|
.message { page-break-after: always }
|
|
pre { font-family: monospace }
|
|
pre {white-space: pre-wrap;}
|
|
pre {white-space: -moz-pre-wrap;}
|
|
pre {white-space: -o-pre-wrap;}
|
|
pre {word-wrap: break-work;}
|
|
-->
|
|
</style>
|
|
[% IF ( stylesheet ) %]
|
|
<link rel="stylesheet" type="text/css" href="[% stylesheet %]">
|
|
[% END %]
|
|
</head>
|
|
<body id="batch_print-notices" class="batch">
|
|
[% FOREACH message IN messages %]
|
|
<div class="message">
|
|
<pre>[% message.content %]</pre>
|
|
</div>
|
|
[% END %]
|
|
</body>
|
|
</html>
|