Bugzilla – Attachment 133570 Details for
Bug 30583
Hold system broken for translated template
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30583: Fix hold system for translated templates
Bug-30583-Fix-hold-system-for-translated-templates.patch (text/plain), 1.79 KB, created by
Lucas Gass (lukeg)
on 2022-04-21 14:43:03 UTC
(
hide
)
Description:
Bug 30583: Fix hold system for translated templates
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2022-04-21 14:43:03 UTC
Size:
1.79 KB
patch
obsolete
>From ac13e64d7ac057fa7b83f1587281e8bd430c8fb5 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 21 Apr 2022 16:30:24 +0200 >Subject: [PATCH] Bug 30583: Fix hold system for translated templates > >There are missing quotes, and the translate script is messing up with >the generated template. > >Error is: >Template process failed: file error - parse error - holds_table.inc line 216-217: unexpected token (hold) > >The generated line, without this patch is: >216 <td><input %]="%]" class="printholdslip" data-reserve_id="[%" hold.reserve_id="hold.reserve_id" html="html" name="printholdslip" type="button" value="Recibo" |="|"></td> >With this patch applied: >216 <td><input class="printholdslip" data-reserve_id="[% hold.reserve_id | html %]" name="printholdslip" type="button" value="Recibo"></td> > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc >index c00cf8dd11..2c1fd418dd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc >@@ -226,7 +226,7 @@ > [%- END -%] > </td> > [% IF ( hold.intransit || hold.atdestination ) %] >- <td><input class="printholdslip" type="button" name="printholdslip" value="Print slip" data-reserve_id=[% hold.reserve_id | html %]></td> >+ <td><input class="printholdslip" type="button" name="printholdslip" value="Print slip" data-reserve_id="[% hold.reserve_id | html %]"></td> > [% ELSE %] > <td></td> > [% END %] >-- >2.30.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 30583
:
133569
|
133570
|
133587