Lp 2008925: Patch Templates Adversely Affected by Lp 1992490 user/sandbergja/lp2008925-fix-tt2-syntax-errors-signoff
authorJason Stephenson <jason@sigio.com>
Wed, 1 Mar 2023 19:34:25 +0000 (14:34 -0500)
committerJane Sandberg <js7389@princeton.edu>
Thu, 2 Mar 2023 14:39:00 +0000 (06:39 -0800)
commitb6d25b48613646193d57ef2574cc60421dd092ec
tree9df7587f2d6e242dfef0a759a205913e3627f698
parent53c962f7394bf63cb1941396ac4abca4a05ec32a
Lp 2008925: Patch Templates Adversely Affected by Lp 1992490

The patch for Lp 1992490 wrapped several text blocks in the l()
translation function.  At least two of these introduced syntax error
in Template Toolkit.  Some of the others could have been done
differntly to fit in better with the general idiom of how we use the
fuction in Evergreen.

This commit modifies those that stood out as the most egregious
examples.

An easy way to test this is to login to the OPAC on an unpatched
system and click to open "Messages."  You will get an Internal Server
Error.  After you apply this commit and install the affected
templates, you will not get an Internal Server Error.

The other modified templates do not seem to crash, but use the
translation funciton in idiosyncratic ways.  This commit attempts to
smooth those out.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Open-ILS/src/templates-bootstrap/opac/myopac/charges.tt2
Open-ILS/src/templates-bootstrap/opac/myopac/holds.tt2
Open-ILS/src/templates-bootstrap/opac/myopac/messages/list.tt2
Open-ILS/src/templates-bootstrap/opac/register.tt2