Change #9311
Category | None |
Changed by | Jason Stephenson <jason | @sigio.com>
Changed at | Thu 02 Mar 2023 11:20:34 |
Repository | git://git.evergreen-ils.org/Evergreen.git |
Project | Evergreen |
Branch | master |
Revision | c63403de805049a47f8f43747c492c8a99b78534 |
Comments
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>
Changed files
- 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