Bugzilla – Attachment 133587 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.84 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-04-21 16:05:29 UTC
(
hide
)
Description:
Bug 30583: Fix hold system for translated templates
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-04-21 16:05:29 UTC
Size:
1.84 KB
patch
obsolete
>From a2ce0529c2a127fa38fd4ed4565148197fd4027a 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> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > 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 c00cf8dd11d..2c1fd418ddd 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.34.1
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