Bug 9210: wrap long lines in printed hold notices
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>
(cherry picked from commit 06a8b6f314)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
d8a0e92c71
commit
18c295a49a
|
|
@ -5,6 +5,10 @@
|
|||
<!--
|
||||
.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 ) %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue