Bugzilla – Attachment 172478 Details for
Bug 35267
Clarify CSS options for Notices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35267: Move JS to bottom in printslip
Bug-35267-Move-JS-to-bottom-in-printslip.patch (text/plain), 1.86 KB, created by
Martin Renvoize (ashimema)
on 2024-10-07 14:45:58 UTC
(
hide
)
Description:
Bug 35267: Move JS to bottom in printslip
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-10-07 14:45:58 UTC
Size:
1.86 KB
patch
obsolete
>From 87bf8cd86cfda4e99ae8a86ee92a824cd7d5857e Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 7 Oct 2024 07:14:44 +0100 >Subject: [PATCH] Bug 35267: Move JS to bottom in printslip > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt >index a50cdcd445f..faaa4a38fc1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt >@@ -2,6 +2,7 @@ > [% USE Asset %] > [% USE Koha %] > [% PROCESS 'i18n.inc' %] >+[% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] > [% UNLESS slips && slips.size %] > [% SET slips = [{content => slip, is_html => !plain, style => style, id => id }] %] >@@ -35,6 +36,7 @@ > [% INCLUDE 'doc-head-close.inc' %] > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon | url %][% ELSE %][% interface | html %]/[% theme | html %]/img/favicon.ico[% END %]" type="image/x-icon" /> >+ > [% Asset.css("css/print.css") | $raw %] > [% IF ( Koha.Preference('PrintSlipStylesheet') ) %] > <link rel="stylesheet" type="text/css" href="[% Koha.Preference('PrintSlipStylesheet') | $raw %]" /> >@@ -43,7 +45,6 @@ > [% IF slip.style %]<style>[% slip.style.replace('([^\{\}]+?)\s*\{', '#slip_' _ slip.id _ ' $1 {') | $raw %]</style>[% END %] > [% END %] > >-[% INCLUDE 'slip-print.inc' #printThenClose %] > </head> > <body id="circ_printslip" class="circ"> > <div id="receipt"> >@@ -62,4 +63,8 @@ > [% END %] > [% END %] > >+ [% MACRO jsinclude BLOCK %] >+ [% INCLUDE 'slip-print.inc' #printThenClose %] >+ [% END %] >+ > [% INCLUDE 'intranet-bottom.inc' %] >-- >2.46.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35267
:
172414
|
172415
|
172416
|
172417
|
172418
|
172457
|
172458
|
172459
|
172460
|
172461
|
172462
|
172463
|
172474
|
172475
|
172476
|
172477
|
172478
|
172479
|
172480
|
172485
|
172486
|
172487
|
172488
|
172489
|
172490
|
172491
|
175531
|
175532
|
175533
|
175534
|
175535
|
175536
|
175706
|
175707
|
175708
|
175709
|
175710
|
175711
|
175715
|
175716
|
175717
|
175718
|
175719
|
175721
|
175723
|
175724
|
175725
|
175726
|
175727
|
175728
|
175729