Koha/koha-tmpl/intranet-tmpl/prog/en/modules/batch/print-notices.tt
Owen Leonard e55d16f0da Bug 20102: Remove attribute "text/css" for <style> element used in staff client templates
This patch modifies staff client templates to remove the "type"
attribute from <style> tags. The attribute is no longer valid.

To test, apply the patch and confirm the changes to the templates. The
appearance of the staff client should be unchanged.

Validating pages from the staff client should not return any errors
related to the <style> "type" attribute.

Signed-off-by: Jose-Mario Monteiro-Santos <jose-mario.monteiro-santos@inLibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-02-19 13:52:15 +00:00

26 lines
793 B
Text

[% INCLUDE 'doc-head-open.inc' %]
[% USE raw %]
<title>Print Notices for [% today | html %]</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
<!--
.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 | url %]">
[% END %]
</head>
<body id="batch_print-notices" class="batch">
[% FOREACH message IN messages %]
<div class="message">
<pre>[% message.content | $raw %]</pre>
</div>
[% END %]
</body>
</html>