]> git.evergreen-ils.org Git - Evergreen.git/commit - Open-ILS/src/templates-bootstrap/opac/register.tt2
Lp 2008925: Patch Templates Adversely Affected by Lp 1992490
authorJason Stephenson <jason@sigio.com>
Wed, 1 Mar 2023 19:34:25 +0000 (14:34 -0500)
committerGalen Charlton <gmc@equinoxOLI.org>
Thu, 2 Mar 2023 16:20:34 +0000 (11:20 -0500)
commitc63403de805049a47f8f43747c492c8a99b78534
tree75312b968611f4d1b4150bd535c01e4f2a005dbf
parenteda46923facdd678fdd45661009ef6073855db84
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>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
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