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> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
2ee5b5b124
commit
ae38dbcb47
1 changed files with 1 additions and 1 deletions
|
@ -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 %]
|
||||
|
|
Loading…
Reference in a new issue